Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
youtubeHD BB code Details »
youtubeHD BB code
Mod Version: 1.00, by OUTL4W (Coder/Designer) OUTL4W is offline
Developer Last Online: Mar 2019 I like it Show Printable Version Email this Page

vB Version: 4.2.1 Rating: (0 vote - 0 average) Installs: 7
Released: 23 Nov 2013 Last Update: Never Downloads: 0
Not Supported Re-usable Code  

I see many bb codes for youtube and vb4 has the default video code button...but this mod embeds the hd version of the video without user manually selecting the hd version.

Also not sure if anyone else has this issue but when clicking the default video button and the window pops up:



unable to scroll horizontally to click ok....so I have to hit ctrl and minus key to shrink window down enough to click ok....which is why I created the YT bb code on my vb4 forum. Also when using the default video button will play 360p version by default so I created the custom yt BB code below that will play hd version of the video if available by default.

Add a new bbcode (AdminCP > Custom BB Codes > Add New BB Code)

Title: YoutubeHD
BB Code Tag Name: ythd

replacement:

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

remember just copy the alpha-numeric characters that follow the "v="

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

example: [ythd]578nd9swh7E[/ythd]

this will play the hd version if available by default without having member manually select it.....1080p by default but if 1080p isn't available then it will play the 720p by default. It also won't show relative videos when done playing but if you want to show relative videos then remove "&rel=0"

this should work on all vB versions....

please mark as installed....thanks

if wanting to add pic for button

Download Now

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

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
Profile Enhancements URL, BB code & Embed code information under album images C.Birch vBulletin 3.7 Template Modifications 58 07 Apr 2008 17:04

Comments
  #2  
Old 23 Nov 2013, 19:54
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
There's something wrong with your templates. The standard built-in video code text box should not look like that.

Also, as far as I know, whether or not the embedded video plays in regular or HD depends on the original video, not on the native BBCode.
Reply With Quote
  #3  
Old 23 Nov 2013, 20:07
OUTL4W OUTL4W is offline
 
Join Date: May 2013
Originally Posted by djbaxter View Post
There's something wrong with your templates. The standard built-in video code text box should not look like that.

Also, as far as I know, whether or not the embedded video plays in regular or HD depends on the original video, not on the native BBCode.
when I embed this video url
http://www.youtube.com/watch?feature...&v=578nd9swh7E
into the default video code...it plays @ 360p by default but when I [YTHD]578nd9swh7E[/YTHD] will play the 1080p version by default.
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 09:48.

Layout Options | Width: Wide Color: