Adding Youtube, error ! - Visual Site...
Hello,
I added youtube video to site I am currently building. I got the code from youtube to embed in my site. I pasted this in with html tool in
Visual Site Designer(latest version) but when I view the webpage with video it is all over the place. Can someone please help ? First time embedding youtube video.
website is:
http://www.niallboyle.com/
page with video content is http://www.niallboyle.com/video.html
Thanks in advance. By the way I read these user forums everyday, I think there great.
I added youtube video to site I am currently building. I got the code from youtube to embed in my site. I pasted this in with html tool in
Visual Site Designer(latest version) but when I view the webpage with video it is all over the place. Can someone please help ? First time embedding youtube video.
website is:
http://www.niallboyle.com/
page with video content is http://www.niallboyle.com/video.html
Thanks in advance. By the way I read these user forums everyday, I think there great.
At the begining of your code you have this:/www.youtube.com/
it should be this: http://www.youtube.com/
that will get rid of the partial code showing
it should be this: http://www.youtube.com/
that will get rid of the partial code showing
You're missing some of the YouTube code. You have this:
<div class="Object115">/www.youtube.com/v/_Qt1Xfbkpws&hl=en&color1=0x3a3a3a&color2=0x999999&border=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/_Qt1Xfbkpws&hl=en&color1=0x3a3a3a&color2=0x999999&border=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="373"></embed></object></div>
Which might be easier to see like this:
<div class="Object115">
/www.youtube.com/v/_Qt1Xfbkpws&hl=en&color1=0x3a3a3a&color2=0x999999&border=1"></param>
<param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/_Qt1Xfbkpws&hl=en&color1=0x3a3a3a&color2=0x999999&border=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="373"></embed>
</object>
</div>
If you look at the above and compare with the code you get from YouTube, the opening object tag is completely missing, and only the end of the first param tag is present with a portion of the url being chopped as Bruce pointed out.
The following is the code you should insert after deleting the YouTube stuff you've inserted.
<object width="425" height="373">
<param name="movie" value="http://www.youtube.com/v/_Qt1Xfbkpws&hl=en&color1=0x3a3a3a&color2=0x999999&border=1"></param>
<param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/_Qt1Xfbkpws&hl=en&color1=0x3a3a3a&color2=0x999999&border=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="373"></embed>
</object>
.
<div class="Object115">/www.youtube.com/v/_Qt1Xfbkpws&hl=en&color1=0x3a3a3a&color2=0x999999&border=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/_Qt1Xfbkpws&hl=en&color1=0x3a3a3a&color2=0x999999&border=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="373"></embed></object></div>
Which might be easier to see like this:
<div class="Object115">
/www.youtube.com/v/_Qt1Xfbkpws&hl=en&color1=0x3a3a3a&color2=0x999999&border=1"></param>
<param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/_Qt1Xfbkpws&hl=en&color1=0x3a3a3a&color2=0x999999&border=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="373"></embed>
</object>
</div>
If you look at the above and compare with the code you get from YouTube, the opening object tag is completely missing, and only the end of the first param tag is present with a portion of the url being chopped as Bruce pointed out.
The following is the code you should insert after deleting the YouTube stuff you've inserted.
<object width="425" height="373">
<param name="movie" value="http://www.youtube.com/v/_Qt1Xfbkpws&hl=en&color1=0x3a3a3a&color2=0x999999&border=1"></param>
<param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/_Qt1Xfbkpws&hl=en&color1=0x3a3a3a&color2=0x999999&border=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="373"></embed>
</object>
.
Thanks Bruce and Cary. Great response and so helpful. I'll implement changes.
Thanks again from Ireland.
Thanks again from Ireland.
Hey guy's, i'm experiencing the same problem trying to post a youtube video in VSD, it's showing code using the code provided above, swapping out for my personal links. Is there any other way to write the code in VSD?
Click the HTML Code button and typing in this link..
<object width="425" height="373">
< param name="movie" value="http://www.youtube.com/watch?v=0N6Dp6DHJL4"></param>
< param name="wmode" value="transparent"></param>
< embed src="http://www.youtube.com/watch?v=0N6Dp6DHJL4" type="application/x-shockwave-flash" wmode="transparent" width="425" height="373"></embed>
< /object>
<object width="425" height="373">
< param name="movie" value="http://www.youtube.com/watch?v=0N6Dp6DHJL4"></param>
< param name="wmode" value="transparent"></param>
< embed src="http://www.youtube.com/watch?v=0N6Dp6DHJL4" type="application/x-shockwave-flash" wmode="transparent" width="425" height="373"></embed>
< /object>
Make the video isn't set to private.
Also click share then grab the embed code.
Also click share then grab the embed code.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Eric Rohloff you have saved my day! I thank you my friend.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.