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

This modification is in the archives.
vB Version: 3.7.x Rating: (14 votes - 4.79 average) Installs: 80
Released: 22 Oct 2008 Last Update: Never Downloads: 12
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 BBcode TheProphet vBulletin 3.7 Template Modifications 47 22 Apr 2009 17:17

Old 22 Oct 2008, 11:52
lucky51's Avatar
lucky51 lucky51 is offline
Join Date: Jul 2007
yes working thanks
Reply With Quote
Old 22 Oct 2008, 17:00
Join Date: Sep 2008
Real name: Ali Hashim
thanks a lot i try it
Reply With Quote
Old 23 Oct 2008, 19:07
Janfri Janfri is offline
Join Date: Nov 2007
Thanks a lot. Perfectly valid XHTML transitional. I have tried many bb codes for youtube, but this is the only one I have found that works with XHTML! Thank you very much!!!
Reply With Quote
Old 24 Oct 2008, 17:47
gundrik gundrik is offline
Join Date: Jul 2008
bro, works perfrectly! finally someone who can easily explain how to do this! A+++++++
Reply With Quote
Old 25 Oct 2008, 10:07
Barakat's Avatar
Barakat Barakat is offline
Join Date: Nov 2004
Real name: Barakat
yap the same as iam useing in my codes ,,,,

thanks ,
مسلمـ من أمة محمد ...
Reply With Quote
Old 26 Oct 2008, 11:21
Gleedo Gleedo is offline
Join Date: Oct 2008
Good stuff, works a treat

Reply With Quote
Old 26 Oct 2008, 18:20
Fangs404 Fangs404 is offline
Join Date: Oct 2008
Originally Posted by the stig View Post
Is this the same mod where I can just post a youtube embeded link and it turns into a video screen?
It sure is (except you don't post the full URL - just the video ID).
Reply With Quote
Old 26 Oct 2008, 19:49
EWGF EWGF is offline
Join Date: May 2007
Very nice

Two times smaller than my previous code and your BORKED note is good to know too.
Reply With Quote
Old 28 Oct 2008, 09:30
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
Join Date: Jul 2006
Real name: Shawn
cool ta
Sorry Guys, just a little busy lately.
Reply With Quote
Old 29 Oct 2008, 06:55
Fangs404 Fangs404 is offline
Join Date: Oct 2008
Originally Posted by the stig View Post
Is there a mod where you can just enter the youtube link from the browser address bar (i.e. and it turns into a video screen in the post? supposedly does it, but several of the comments don't look too good. Plus, his code isn't W3C compliant.
Reply With Quote
Old 31 Oct 2008, 14:49
Masiello's Avatar
Masiello Masiello is offline
Join Date: Jul 2005
Real name: Antonio
Thanks a lot men
Reply With Quote
Old 02 Nov 2008, 01:04
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Join Date: Sep 2008
Real name: Michael Miller Jr
Daddy Does Dios and Figs!

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
Old 13 Dec 2008, 06:48
Fangs404 Fangs404 is offline
Join Date: Oct 2008
I just updated this to include a new tag (youtubehd) which enables embedding YouTube's new HD mode.
Reply With Quote
Old 13 Dec 2008, 22:00
Fangs404 Fangs404 is offline
Join Date: Oct 2008
And I just updated it once more to add support for HQ mode (which is better than regular but worse than HD).
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 15:38.

Layout Options | Width: Wide Color: