Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-30-2011, 02:17 AM
4Play 4Play is offline
 
Join Date: Jun 2011
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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>
Attached Images
File Type: jpg youtube_problem.jpg (109.2 KB, 0 views)
Reply With Quote
  #2  
Old 06-30-2011, 02:34 AM
Reycer Reycer is offline
 
Join Date: Jul 2008
Location: Lebanon, MO (USA)
Posts: 747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 06-30-2011, 02:55 AM
4Play 4Play is offline
 
Join Date: Jun 2011
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #4  
Old 06-30-2011, 03:06 AM
Reycer Reycer is offline
 
Join Date: Jul 2008
Location: Lebanon, MO (USA)
Posts: 747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #5  
Old 06-30-2011, 03:13 AM
4Play 4Play is offline
 
Join Date: Jun 2011
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #6  
Old 06-30-2011, 03:27 AM
Reycer Reycer is offline
 
Join Date: Jul 2008
Location: Lebanon, MO (USA)
Posts: 747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 06-30-2011, 03:29 AM
4Play 4Play is offline
 
Join Date: Jun 2011
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!)
Reply With Quote
  #8  
Old 06-30-2011, 03:39 AM
Reycer Reycer is offline
 
Join Date: Jul 2008
Location: Lebanon, MO (USA)
Posts: 747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 06-30-2011, 08:59 AM
4Play 4Play is offline
 
Join Date: Jun 2011
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #10  
Old 06-30-2011, 09:07 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You know you can just use [media]youtubeurl[/media] right?
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 02:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06545 seconds
  • Memory Usage 2,273KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete