The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Slight Problem with Installing YouTube Vid on vB4
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> |
#2
|
|||
|
|||
Code:
<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> |
#3
|
|||
|
|||
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! |
#4
|
|||
|
|||
Yes, I used the short link. The code is already setup ready to go, but here it is with the full link
Code:
<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> |
#5
|
|||
|
|||
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? |
#6
|
|||
|
|||
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.
|
#7
|
|||
|
|||
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!) |
#8
|
|||
|
|||
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.
|
#9
|
|||
|
|||
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!
|
#10
|
||||
|
||||
You know you can just use [media]youtubeurl[/media] right?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|