hPage.com Forum
Remember Me?
Go Back   hPage.com Forum > Website editing > HTML & CSS

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-10-2011, 01:26 PM
cazksboy's Avatar
Member
 
Join Date: Sep 2009
Location: Overland Park, Kansas
Posts: 33
Thanks: 1
Thanked 6 Times in 5 Posts
Unhappy How to embed multiple YouTube videos on one page?

I have encountered a strange problem. I am trying to embed several YouTube videos on a single page of my website. When I embed the HTML code for the first video, everything looks good. But, when I embed the HTML code for the second video, a duplicate of the first one appears directly under the original video, followed by a small gap, and then followed by the second video. In other words I end up with two of the first videos followed by one of the second video!

And if I embed the HTML code of a third video, I end up with two of the first video, two of the second video and one of the third video.

There seems to be something about pasting addtional HTML code that somehow forces a duplicate of whatever preceded it.

Can you explain what is happening, and what I am doing wrong?
__________________
...Doug in Prescott Valley, Arizona - U.S.A.
Reply With Quote
  #2 (permalink)  
Old 06-24-2011, 03:31 AM
Junior Member
 
Join Date: Jun 2011
Location: kuala lumpur
Posts: 20
Thanks: 1
Thanked 1 Time in 1 Post
Default Hope this Helps

1. Are u using the Embed code given in Youtube link?
copy the text in the "embed" box on the right of the video


<object width="425" height="350"><param name="movie" value="http://www.youtube.com/watch?v=cCeLIa02iy0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/watch?v=cCeLIa02iy0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>


Regards,
Avinash
http://downloadmovies4free.hpage.asia/
Reply With Quote
  #3 (permalink)  
Old 06-24-2011, 03:06 PM
cazksboy's Avatar
Member
 
Join Date: Sep 2009
Location: Overland Park, Kansas
Posts: 33
Thanks: 1
Thanked 6 Times in 5 Posts
Default

Quote:
Originally Posted by avi24nash View Post
1. Are u using the Embed code given in Youtube link?
copy the text in the "embed" box on the right of the video


<object width="425" height="350"><param name="movie" value="http://www.youtube.com/watch?v=cCeLIa02iy0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/watch?v=cCeLIa02iy0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>


Regards,
Avinash
http://downloadmovies4free.hpage.asia/
Hello Avinash. Yes, that is exactly what I am doing. Unfortunately the result is TWO copies of the video appearing on my page, instead of just one.
__________________
...Doug in Prescott Valley, Arizona - U.S.A.
Reply With Quote
  #4 (permalink)  
Old 06-25-2011, 03:51 PM
Senior Member
 
Join Date: Jan 2011
Location: Berlin, Germany
Posts: 124
Thanks: 0
Thanked 29 Times in 27 Posts
Default

I get from yt an embedding code like this
HTML Code:
<iframe height="349" frameborder="0" width="560" allowfullscreen="" src="http://www.youtube.com/embed/QtwfMLhTaiU"></iframe>
and I have no problem to include to different code snippets of this type into the same page, an example you can see here
http://c-design.hpage.us/youtube_test_page_8449338.html
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:27 PM.
Archive - Top