vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Slight Problem with Installing YouTube Vid on vB4 (https://vborg.vbsupport.ru/showthread.php?t=266015)

4Play 06-30-2011 02:17 AM

Slight Problem with Installing YouTube Vid on vB4
 
1 Attachment(s)
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

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>
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

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>


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 [media]youtubeurl[/media] right?

Reycer 06-30-2011 01:30 PM

Quote:

Originally Posted by Zachery (Post 2214952)
You know you can just use [media]youtubeurl[/media] right?

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


All times are GMT. The time now is 05:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00954 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete