PDA

View Full Version : Youtube video NOT working. Please help


madddenaddicto
02-08-2013, 10:50 PM
I want to put a video on my front page.
http://www.iplayfifa.com
I cant get it to work.

Can someone point me in the right direction?
Thank you in advance.

:up:

Mr_Running
02-09-2013, 12:56 AM
If using a HTML widget

It appears it is currently embed using this...
<embed width="520" height="320" allowfullscreen="true" allowscriptaccess="always" x-shockwave-flash"="" application="" src="http://www.youtube.com/watch?v=979W1QB1H2Q">


Perhaps use this instead...
<iframe width="560" height="315" src="http://www.youtube.com/embed/979W1QB1H2Q?rel=0" frameborder="0" allowfullscreen></iframe>

Change width and height as needed. :)

Digital Jedi
02-09-2013, 01:16 AM
The main reason the embed code you were using wasn't working was because you had the actual YouTube page as the video source.

http://www.youtube.com/watch?v=979W1QB1H2Q

However, that's just where the video is embedded on YouTube. The source of a YouTube video will look like this:

http://www.youtube.com/embed/979W1QB1H2Q

In any event, the iframe code Mr_Running posted is probably the better option, since that's what YouTube promotes now. Again, note the source URL.

madddenaddicto
02-09-2013, 01:38 PM
Thank you both for helping me out. I got it working.