![]() |
|
Mod Options |
![]() |
|||||||||||||||
YouTube BB Code (W3C-compliant!)
![]() Developer Last Online: Sep 2019 ![]() ![]() ![]()
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:
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
The following members like this post: Perrier Sophie
|
![]() |
||||
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 |
Comments |
#2
|
|||
|
|||
Members simply paste what they see in the browser URL. How can I change it to accept full URL instead of just ID?
No members have liked this post.
|
#3
|
|||
|
|||
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.
No members have liked this post.
|
#4
|
|||
|
|||
My members just had to be edumacated. But they soon learned how it works.
No members have liked this post.
|
#5
|
|||
|
|||
thnx man
No members have liked this post.
|
#7
|
|||
|
|||
Why i saw white page if url put....?
No members have liked this post.
|
#8
|
|||
|
|||
I don't understand. Copy/paste the [youtube] command you were trying.
No members have liked this post.
|
#9
|
|||
|
|||
installed - many thanks - any way of getting the icon to show in quick reply - typing the text works so it is ok from there.
No members have liked this post.
Last edited by tony adams; 31 Jan 2009 at 21:23. |
#10
|
|||
|
|||
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] No members have liked this post.
|
#11
|
|||
|
|||
*Installed*
thank you No members have liked this post.
|
#12
|
|||
|
|||
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.
![]() No members have liked this post.
|
#13
|
|||
|
|||
Cant work with full url from Youtube....?
No members have liked this post.
|
#14
|
|||
|
|||
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.
No members have liked this post.
|
#15
|
||||
|
||||
This is great TY
![]() Will this affect my bandwidth much? No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 02:17.