Avatar of sulentho
sulentho asked on

Youtube embed code not working

I am uwing the following embed code to embed a youtube video on my html page but all I am getting is a white space with the mssg "Movie not loaded". I have provided the code blow. Any kind of help is appreciated.
<p><object width="480" height="295"><param name="movie" value="http://www.youtube.com/watch?v=3PuHGKnboNY"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/watch?v=3PuHGKnboNY" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"></embed></object></p>

Open in new window

Web ServicesWeb Development

Avatar of undefined
Last Comment
OrTzabary

8/22/2022 - Mon
OrTzabary

I just copied the embed URL from the youtube page and it worked... have you tried to use it ?

http://www.youtube.com/watch?v=3PuHGKnboNY

it written in the embed field...

Enjoy :)
<object width="480" height="295"><param name="movie" value="http://www.youtube.com/v/3PuHGKnboNY&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/3PuHGKnboNY&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"></embed></object>

Open in new window

ASKER
sulentho

Thank you for your reply. The way this is supposed to work is the users are going to the add the video to a news article on the site in the format given by youtube which is http://www.youtube.com/watch?v=3PuHGKnboNY. Try to put this url in the embed code and you will see that the video then does not show up. Thanks
ASKER CERTIFIED SOLUTION
OrTzabary

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Your help has saved me hundreds of hours of internet surfing.
fblack61