Register Members List Search Today's Posts Mark Forums Read

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: Jan 2019 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (19 votes - 4.79 average) Installs: 217
Released: 14 Jan 2009 Last Update: Never Downloads: 15
Not 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
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

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
BB Code Enhancements YouTube BB Code (W3C-compliant!) Fangs404 vBulletin 3.7 Template Modifications 79 01 May 2011 11:13
BB Code Enhancements YouTube BBcode TheProphet vBulletin 3.7 Template Modifications 47 22 Apr 2009 17:17

Old 30 Apr 2011, 10:30
Bulent Tekcan Bulent Tekcan is offline
Join Date: Oct 2003
How to disable youtube in quote ? Because many user quote some messages and every where show youtube video.

Reply With Quote
Old 19 May 2011, 07:30
hayaldunya hayaldunya is offline
Join Date: Mar 2008
Very Thanks. Super W3C-compliant!
Reply With Quote
Old 09 Nov 2011, 23:47
Join Date: Nov 2011
Reply With Quote
Old 15 Dec 2011, 20:46
Fangs404 Fangs404 is offline
Join Date: Oct 2008
Originally Posted by Bulent Tekcan View Post
How to disable youtube in quote ? Because many user quote some messages and every where show youtube video.
This is a fundamental problem in vBulletin (not unique to this BB code). Any BB code will show up in a quote. You'd need to find a mod that removes BB codes from quotes or edit whatever PHP code handles quotes to specifically filter youtube videos.
Reply With Quote

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 20:59.

Layout Options | Width: Wide Color: