Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[BB Code] YouTube Javascript Embed Details »
[BB Code] YouTube Javascript Embed
Mod Version: 1.00, by wii (Contributor) wii is offline
Developer Last Online: Sep 2018 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (3 votes - 5.00 average) Installs: 57
Released: 18 Feb 2009 Last Update: 18 Feb 2009 Downloads: 387
Not Supported Additional Files Re-usable Code Translations  

Show YouTube videos directly in your vBulletin forum posts.
Very easy to install and please Mark as Installed if you decide to use it, thanks.

Changes to my old YouTube embed:

1. All videos are now larger (640x480 pixels)
2. All videos are now shown in high quality and stereo sound (if available)
3. You can now embed videos in HD (if available)
4. Valid XHTML code (works in all modern browsers and operating systems).

Installation is as follows:

1. Go To AdminCP.
2. Select Custom BB Codes.
3. Add New BB Code.
4. Fill in the following:

Title: YouTube BB Code
Tag: yt
Replacement:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


5. Upload the included javascript file to your forum root:
Change the example URL: www.yourforum.com to your own URL.

6. Edit the code above to the exact location of the javascript file you just uploaded.

Example: [yt]1EutKrKTfLk[/yt]
Description: YouTube
Use {Option}: No

When installed, use the code in your forum like this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

For HD use this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	flashembed1.jpg
Views:	763
Size:	71.1 KB
ID:	95155   Click image for larger version

Name:	flashembed2.jpg
Views:	393
Size:	134.1 KB
ID:	95156  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
BB Code Enhancements YouTube Full Url embed BB Code AzaDiyaR vBulletin 3.7 Template Modifications 12 21 Mar 2009 10:57
BB Code Enhancements [BB Code] YouTube Javascript Embed wii Modification Graveyard 36 13 May 2008 09:10

  #16  
Old 15 Mar 2009, 14:31
guncanada guncanada is offline
 
Join Date: Feb 2009
works great. But how can i install a button that can put the tags around for the users. Like a little youtube button so it will pop up a window where they can copy the youtube url
Reply With Quote
  #17  
Old 18 Mar 2009, 04:36
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Real name: Vijay
This is awesome but...Right now the system system we have on our forums is that the user just copies and pastes the url link of the video and the video shows up on the page when posted......no inserting between the bb codes and manually putting the end part.

Can something like that be done with this.

Thanks.
Reply With Quote
  #18  
Old 12 Jun 2009, 11:31
A Random Otaku A Random Otaku is offline
 
Join Date: Sep 2006
Originally Posted by movslow View Post
Great mod, however are their any current hacks that conflict w/this mod?

I'm just getting a blank screen where the video should be.

This was blank because of a mistake in the code.

Here is the original:

<script src="http://www.yourforum.com/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript" >
AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','640','height','480','src','http://www.youtube.com/v/{param}&ap=%2526fmt%3D18','quality','high','wmode','transparent','name','youtube ','allowscriptaccess','sameDomain','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','http://www.youtube.com/v/{param}&ap=%2526fmt%3D18' );</script>

Here is the fix:

<script src="http://www.yourforum.com/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript" >
AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','640','height','480','src','http://www.youtube.com/v={param}&ap=%2526fmt%3D18','quality','high','wmode','transparent','name','youtube ','allowscriptaccess','sameDomain','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','http://www.youtube.com/v/{param}&ap=%2526fmt%3D18' );</script>

I erased the forward slash after the youtube.com/v and added a = in the front. Works perfect now. I've turned the fixed part red so you can find it easier.

So if anybody has a blanking problem, try that.

Good BB Code. Installed
Reply With Quote
  #19  
Old 14 Jun 2009, 10:10
[email protected] Nosfer@tu is offline
 
Join Date: Jul 2008
Real name: Peter Kirk
Originally Posted by vijayninel View Post
This is awesome but...Right now the system system we have on our forums is that the user just copies and pastes the url link of the video and the video shows up on the page when posted......no inserting between the bb codes and manually putting the end part.

Can something like that be done with this.

Thanks.
How do you do that ?
it REALLY sux when the code cant even crap the excessive url into what it needs.
Very long educational process for the users.
Reply With Quote
  #20  
Old 10 Sep 2009, 03:36
wafa wafa is offline
 
Join Date: May 2007
thank you ..

it's work with me .
Reply With Quote
  #21  
Old 15 Feb 2011, 11:01
g4dual g4dual is offline
 
Join Date: Jan 2009
Thanks !!
Reply With Quote
  #22  
Old 10 May 2011, 09:28
el-q6ri el-q6ri is offline
 
Join Date: Jan 2008
is this code display the related video if yes how to stop it from loading the related video at the end ?
__________________
www.souqaldoha.com
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 04:38.

Layout Options | Width: Wide Color: