vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   BB Code Enhancements - Widescreen Youtube BB Code (https://vborg.vbsupport.ru/showthread.php?t=198529)

fattony69 12-09-2008 10:00 PM

Widescreen Youtube BB Code
 
Hey guys, Fat Tony69 here again! Youtube recently made it possible for widescreen videos. Since then, the members of my forum wanted the chance to embed this. After doing some looking, I made this possible. This is great for a video forum or such. This modification is brought you by TheBestForumEver.com:


Title: Widescreen Youtube Embedding

BB Code Tag Name: wsyt

Replacement:

Code:
Code:

<object width="615" height="360"><param name="movie" value="http://www.youtube.com/v/{param}&hl=en&fs=1&color1=0xe1600f&color2=0xfebd01"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/{param}&hl=en&fs=1&color1=0xe1600f&color2=0xfebd01" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="615" height="360"></embed></object>
Example: [wsyt]FEm8PZ_lUh8[/wsyt]

Description: widescreen youtube.

Use {option}: No

Everything else can be left the same!

Please click INSTALL if you like this BBcode.

Brought to you by: TheBestForumEver.com!

Skavenger 12-10-2008 08:45 PM

There is a missing "}" in the code, in the first "param"

fattony69 12-11-2008 02:03 AM

Quote:

Originally Posted by Skavenger (Post 1682710)
There is a missing "}" in the code, in the first "param"

Fixed. Thank you. I made it as someone requested it. Kinda rushed through it though. Thanks though.

Keenanm 12-11-2008 12:22 PM

Installed very good.

Kihon Kata 12-12-2008 11:53 PM

Updated mine, thanks!

denman75 12-14-2008 05:36 AM

lol works great
tnx

abhimation 01-05-2009 05:17 PM

Sry for a total newbie question !

Where and what changes should do i do for this ?

I have got vB Media Player installed on my VB 3.7.3, will it work with that ?

nhdriver4 01-10-2009 06:00 PM

If you want to use the default YouTube grey borders, remove the following code:
Code:

&color1=0xe1600f&color2=0xfebd01
Note that there are two instances of this string. Remove them both.

ricardoNJ 04-26-2009 05:42 AM

I can't understand how you made it. I put this bbcode but my video are "square" yet!!!

mattwmc2001 07-24-2009 03:44 AM

Any idea how to add a youtube (I can make one) icon so users can just click it (like when clicking the insert link icon)?

Thanks, great job!

*Doh - nevermind its an option, lol!

lm3a.net 08-23-2009 10:23 AM

thank you,,


All times are GMT. The time now is 05:23 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.02325 seconds
  • Memory Usage 1,728KB
  • 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