Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
YouTube BB Code (W3C-compliant!) Details »»
YouTube BB Code (W3C-compliant!)
Mod Version: 1.3.5, by Fangs404 (Coder/Designer) Fangs404 is offline
Developer Last Online: Aug 2014 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (19 votes - 4.79 average) Installs: 219
Released: 14 Jan 2009 Last Update: Never Downloads: 15
Supported Re-usable Code Translations  

I searched for a decent YouTube BB code tag here, but every single one of them uses the embed tag, which is an illegal XHTML tag. I set out to find a way to create a W3C-compliant YouTube BB code tag, and this is what you see here.

Title: YouTube
BB Code Tag Name: youtube
Replacement:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [youtube]zlfKdbWwruY[/youtube]
Description: Embed a YouTube video. You <b>only</b> put the video ID in between the BB code tags (<b>NOT</b> the full URL!). Embedding <b>must</b> be enabled for the video!
Use Option: No
Image:

Important Note!
A link to the YouTube video is displayed if the YouTube video fails to load. There are a variety of reasons this might occur:

- You didn't properly enter the video ID between the BB code tags.
- You don't have the latest version of Flash.
- You are using Firefox and have a conflicting extension (AdBlock, NoScript, a Greasemonkey script, etc).
- The video doesn't allow embedding.
- You have some other problem on your end (corrupt browser install, spyware, virus, etc.).
- YouTube is currently having a problem.

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.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
YouTube BB Code (W3C-compliant!) Fangs404 vBulletin 3.7 Template Modifications 79 01 May 2011 11:13
YouTube BBcode TheProphet vBulletin 3.7 Template Modifications 47 22 Apr 2009 17:17

Comments
  #2  
Old 18 Jan 2009, 19:09
cooltechie cooltechie is offline
 
Join Date: Apr 2004
Members simply paste what they see in the browser URL. How can I change it to accept full URL instead of just ID?
Reply With Quote
  #3  
Old 20 Jan 2009, 03:14
Fangs404 Fangs404 is offline
 
Join Date: Oct 2008
Originally Posted by cooltechie View Post
Members simply paste what they see in the browser URL. How can I change it to accept full URL instead of just ID?
You'll need another (fancier) mod if you want to do this. Given vB3's current BBCode system, a simple BBCode can't achieve that unfortunately. Just tell your members how to properly use this BBCode.
Reply With Quote
  #4  
Old 21 Jan 2009, 05:08
JackRock JackRock is offline
 
Join Date: Jan 2009
My members just had to be edumacated. But they soon learned how it works.
Reply With Quote
  #5  
Old 21 Jan 2009, 07:47
Aliraqis Aliraqis is offline
 
Join Date: Jul 2008
Real name: Ahmad
thnx man
Reply With Quote
  #6  
Old 25 Jan 2009, 15:52
jesus likes pie's Avatar
jesus likes pie jesus likes pie is offline
 
Join Date: Apr 2005
Thank you!
Reply With Quote
  #7  
Old 31 Jan 2009, 04:45
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Why i saw white page if url put....?
Reply With Quote
  #8  
Old 31 Jan 2009, 17:41
Fangs404 Fangs404 is offline
 
Join Date: Oct 2008
I don't understand. Copy/paste the [youtube] command you were trying.
Reply With Quote
  #9  
Old 31 Jan 2009, 19:47
tony adams tony adams is offline
 
Join Date: Oct 2004
installed - many thanks - any way of getting the icon to show in quick reply - typing the text works so it is ok from there.

Last edited by tony adams : 31 Jan 2009 at 21:23.
Reply With Quote
  #10  
Old 31 Jan 2009, 22:51
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Originally Posted by Fangs404 View Post
I don't understand. Copy/paste the [youtube] command you were trying.
If i put [YOYTUBE]http://www.youtube.com=xxxxxxxxxxxxxxxxxxx[/YOUTUBE] saws white screen...

And its saws lucky its sould be when i put [YOYTUBE]xxxxxxxxxxxxxxxxxxx[/YOUTUBE]
Reply With Quote
  #11  
Old 02 Feb 2009, 23:40
dmknights dmknights is offline
 
Join Date: Jul 2007
Real name: Darren
*Installed*
thank you
Reply With Quote
  #12  
Old 04 Feb 2009, 01:55
Fangs404 Fangs404 is offline
 
Join Date: Oct 2008
I actually just checked YouTube's dimensions for regular and HQ, and it's 644x390 (HD is 858x508 for comparison). I went ahead and changed it.
Reply With Quote
  #13  
Old 04 Feb 2009, 01:58
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Cant work with full url from Youtube....?
Reply With Quote
  #14  
Old 04 Feb 2009, 05:18
Fangs404 Fangs404 is offline
 
Join Date: Oct 2008
Originally Posted by RedHacker View Post
Cant work with full url from Youtube....?
Nope, as I said earlier, it's not possible with a simple BBCode mod. At least not until the vB3 team builds in a way to use PHP or something fancier than what we have available.
Reply With Quote
  #15  
Old 04 Feb 2009, 21:27
james-76's Avatar
james-76 james-76 is offline
 
Join Date: Feb 2009
This is great TY

Will this affect my bandwidth much?
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 11:26.

Layout Options | Width: Wide Color: