PDA

View Full Version : Slight Problem with Installing YouTube Vid on vB4


4Play
06-30-2011, 02:17 AM
Hi,
As part of my site demographic has never used a forum before (read: older users lol), I created and loaded a video onto YouTube to show visitors how to register on the site.

It all looks great BUT the YouTube "block" extends past the right margin.

How can I fix this?

Also, while the video works fine there's no audio. Any ideas why?

PS - Here's the HTML that YouTube provided to me:

<iframe width="425" height="349" src="http://www.youtube.com/embed/nHxhHaoFrrA?hl=en&fs=1" frameborder="0" allowfullscreen></iframe>

Reycer
06-30-2011, 02:34 AM
<object width="240" height="240"><param name="movie" value="http://youtu.be/nHxhHaoFrrA?hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://youtu.be/nHxhHaoFrrA?hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="240" height="240"></embed></object>

Here use this code (I've already set your video link in the code) As for the sound. I went straight to the Youtube video and there seems to be no sound there either, so that is a Youtube problem. You may have to re-upload the video.

4Play
06-30-2011, 02:55 AM
hi mdelcour,
reloaded the video but still having sound issues. where do i put the new URL and/or HTML info from YouTube into the code you provided? What they provide seems a bit different than the code you shared above?

Here's the new HTML:
<iframe width="425" height="349" src="http://www.youtube.com/embed/G060S_QW_V0" frameborder="0" allowfullscreen></iframe>

Here's the URL of the new YouTube vid:
http://www.youtube.com/watch?v=G060S_QW_V0

just trying to load it within a block for now. will address the audio sound issue tomorrow.

appreciate all the help!

Reycer
06-30-2011, 03:06 AM
Yes, I used the short link. The code is already setup ready to go, but here it is with the full link

<object width="240" height="240"><param name="movie" value="http://www.youtube.com/watch?v=G060S_QW_V0
"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/watch?v=G060S_QW_V0
" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="240" height="240"></embed></object>

4Play
06-30-2011, 03:13 AM
i'm sorry, mdelcour. i cut and posted your code into an HTML block and it's still coming up blank as you can see on my site:
http://www.The2ndKey.com

As a NooB, I'm sure I'm doing something wrong. Any ideas?

Reycer
06-30-2011, 03:27 AM
Change the privacy on the video so that it's a public video. That's the only reason I would know that it would do that. I applied the same code to my Youtube videos and it works fine. I even tried different videos from Youtube just now and they also work fine. The only reason I can think as to why your video is doing that is because it is unlisted.

4Play
06-30-2011, 03:29 AM
UPDATE: I changed the height and length to "240" which seemed to help a lot!

Any way to improve this, mdelcour? (appreciate your help and your patience!)

Reycer
06-30-2011, 03:39 AM
eh no problem. It is rather small. All I can tell you is to play around with the size to get it like you want. The good thing is people can expand it full screen, or click on the link and open the video up in a new screen. I really don't know what to tell you about how to fix it so that's it's more visible though. sorry.

4Play
06-30-2011, 08:59 AM
reloaded the YouTube vid and now have audio! you're right, the screen's a bit small, but it can easily be expanded by the viewer. thank you SO MUCH for the assist! :)

Zachery
06-30-2011, 09:07 AM
You know you can just use youtubeurl right?

Reycer
06-30-2011, 01:30 PM
You know you can just use youtubeurl right?

This was for a side widget not posting in a thread.