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 »

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 »

A solution to this was found. No need to reply.
Thanks.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: Embedding a youtube video

Post by Jensensen »

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: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Embedding a youtube video

Post by Oliver Georgi »

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 »

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: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Embedding a youtube video

Post by Oliver Georgi »

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 »

Super!
Post Reply