vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   YouTube embed and 3.6 (https://vborg.vbsupport.ru/showthread.php?t=124129)

hinch 08-16-2006 04:45 PM

YouTube embed and 3.6
 
Has anyone got a bb code replacement for youtube working with vb3.6 I tried to set one up today only I just get a white square instead of the video embedding properly.

example:

[youtube]http://www.youtube.com/watch?v=7tEkKhMVoS4[/youtube]

to be replaced by

HTML Code:

<object width="425" height="350"><param name="movie" value="{param}"></param><embed src="{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
and this is the string from the generated html
now to me this looks correct however it simply refuses to display the actual player

HTML Code:

<!-- message -->
                <div id="post_message_78147"><object width="425" height="350"><param name="movie" value="http://www.youtube.com/watch?v=7tEkKhMVoS4"></param><embed src="http://www.youtube.com/watch?v=7tEkKhMVoS4" type="application/x-shockwave-flash" width="425" height="350"></embed></object></div>
                <!-- / message -->

anybody else had any problems with this or anyone got any clues ?

Nxs 08-16-2006 04:56 PM

Quote:

Originally Posted by hinch
Has anyone got a bb code replacement for youtube working with vb3.6 I tried to set one up today only I just get a white square instead of the video embedding properly.

example:

[youtube]http://www.youtube.com/watch?v=7tEkKhMVoS4[/youtube]

[youtube]http://www.youtube.com/v/7tEkKhMVoS4[/youtube]

works with the code you posted above, looks like your trying to embed a web page - as a movie object - which wont work :)

hinch 08-16-2006 05:01 PM

yup appears to work fine

thanks alot was me being a monkey

MajorFm.com 08-16-2006 06:25 PM

How did you do this, please tell me so i can do this on my forum!

Nxs 08-16-2006 08:46 PM

Quote:

Originally Posted by MajorFm.com
How did you do this, please tell me so i can do this on my forum!


https://vborg.vbsupport.ru/showthread.php?t=111386

MajorFm.com 08-20-2006 05:27 PM

^^^ Thanks!

Senn 08-25-2006 02:29 PM

Quote:

Originally Posted by Nxs

Works perfect! Thanks :)


All times are GMT. The time now is 02:54 AM.

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.01154 seconds
  • Memory Usage 1,726KB
  • 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_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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