Embedding a youtube video

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
gavred
Posts: 2
Joined: Fri 21. May 2010, 13:58

Embedding a youtube video

Post by gavred » Fri 21. May 2010, 14:08

Hi Guys,

I'm sure this has been covered before but I can't seem to find it anywhere in the forums - so sorry if it has.
I'm very new to phpwcms - so go easy if this is a silly question, but I've been asked to take over the maintenance of a website built in phpwcms and
I'm trying to embed a youtube video using the embed code provided by youtube. Its not working and I'm wondering if someone has any ideas on how to go about it?

Many Thanks!!

gavred
Posts: 2
Joined: Fri 21. May 2010, 13:58

Re: Embedding a youtube video

Post by gavred » Sun 23. May 2010, 00:59

A solution to this was found. No need to reply.
Thanks.

User avatar
Jensensen
Posts: 2986
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: Embedding a youtube video

Post by Jensensen » Sat 12. Jun 2010, 00:17

gavred wrote:A solution to this was found. ...
Would you be so kind to explain the solution?
Thank you.
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.

User avatar
Oliver Georgi
Site Admin
Posts: 9412
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau
Contact:

Re: Embedding a youtube video

Post by Oliver Georgi » Sun 13. Jun 2010, 08:48

remember the videoplayer.php in template/inc_script/frontend_render/disabled. Move it one dir up and then use:

Code: Select all

[youtube]%%YouTubeCode%%[/youtube]
Sample:

Code: Select all

[youtube]xsSneTE5hLc[/youtube]
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn

Siegmar
Posts: 4
Joined: Thu 6. Apr 2006, 10:59
Location: Duisburg

Re: Embedding a youtube video

Post by Siegmar » Tue 18. Mar 2014, 21:52

Funktioniert prima!
Allerdings nicht auf meinem Tablet und Smartphone - beides Chrome/Android.
Dort wird nur die Youtube-URL angezeigt

Works great!
Unfortunately it does not on my tablet and mobile - Chrome/Android system.
There the youtube-url is shown only.

User avatar
Oliver Georgi
Site Admin
Posts: 9412
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau
Contact:

Re: Embedding a youtube video

Post by Oliver Georgi » Wed 19. Mar 2014, 07:14

Jupp, Flash-basiert. Ich ändere das mal ab in eine aktualisierte, iFrame-basierte Lösung.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn

Siegmar
Posts: 4
Joined: Thu 6. Apr 2006, 10:59
Location: Duisburg

Re: Embedding a youtube video

Post by Siegmar » Wed 19. Mar 2014, 17:23

Super!

Post Reply