![]() |
|
|
Mod Options |
YouTube BB Code (W3C-compliant!) Details »»
|
|||||||||||||||
|
YouTube BB Code (W3C-compliant!)
Developer Last Online: Apr 2013
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. Screenshots Show Your Support
No members have liked this post.
|
|||||||||||||||
Similar Mod
|
||||
| Mod | Developer | Type | Replies | Last Post |
| YouTube BBcode | TheProphet | vBulletin 3.7 Template Modifications | 47 | 22 Apr 2009 17:17 |
|
#61
|
||||
|
||||
|
This is not working with firefox from today but works fine with IE.
http://www.birdiechance.co.uk/forums...read.php?t=601 Do you have any idea what the issue could be?
__________________
Interested in Golf? If so join our forum.
BirdieChance.co.uk No members have liked this post.
|
|
#62
|
|||
|
|||
|
It's working just fine for me. It's an issue on your end. Check that you have the latest version of Flash and that you have no conflicting FF extensions (check AdBlock or NoScript).
No members have liked this post.
|
|
#63
|
|||
|
|||
|
I just modified both BB codes so that the full screen button is now available. I didn't realize it was missing until someone just told me yesterday.
No members have liked this post.
|
|
#64
|
||||
|
||||
|
I have an idea that you might like to add
![]() How you have "Borked" I have changed it to "Video Error - Check here to make sure you have added it correctly." This takes them to the FAQ so they can see the example etc. Ok heres my idea I hope you are able to do it. Instead of "Borked" could you make it so its an actual link to the correct video on youtube that opens in a new window? This way if the embedding fails on a site like it has mine a few times then it would show a link to video instead. Thanks a lot ![]()
__________________
Interested in Golf? If so join our forum.
BirdieChance.co.uk No members have liked this post.
|
|
#65
|
|||
|
|||
|
Originally Posted by james-76
I like that idea a lot.
No members have liked this post.
|
|
#66
|
||||
|
||||
|
Maybe you could have it as:
![]() It says a lot more than one word but it would stop us all coming back here asking whats the problem especially for human error. I would think you could do this pretty easily but what do I know ![]() Thanks for saying you liked the idea I hope at some point in the future you have some time to give it a try.Regards, James
__________________
Interested in Golf? If so join our forum.
BirdieChance.co.uk No members have liked this post.
|
|
#67
|
||||
|
||||
|
OK, here's what I changed it to.
Thanks for the recommendation. Hopefully this'll save some headaches. No members have liked this post.
|
||||
|
#68
|
||||
|
||||
|
Thit is perfect
Thanks very much for your time.I altered it a little on my site so itgoes straight to the youtube bbcode instead of all bb codes. <a href="misc.php?do=bbcode#youtube" target="_blank"> Also I made both links open in seperate windows as this suits me but may not suit others ![]() Thanks once again.
__________________
Interested in Golf? If so join our forum.
BirdieChance.co.uk No members have liked this post.
|
||||
|
#69
|
|||
|
|||
|
Unfortunately, it appears that YouTube has removed the ability to embed HQ and HD videos using the &fmt=22 trick. As a result, I'm going to remove the youtubehd tag from my script.
No members have liked this post.
|
|
#70
|
|||
|
|||
|
OK, HD videos will work again. I had to change &fmt=22 to &hd=1.
No members have liked this post.
|
|
#71
|
|||
|
|||
|
where do u install it?
how? please leave a little bit of installation guide... thanks! No members have liked this post.
|
|
#72
|
|||
|
|||
|
Just like every other BB code. Go into the admin console, and go to the BB code section.
No members have liked this post.
|
|
#73
|
||||
|
||||
|
hey fangs, I have your old version where it said "borked". I see that you've done a lot of changes to the code and it's very nice now. If I were to replace old codes for the new ones, will my old embed work properly?
thanks. No members have liked this post.
|
|
#74
|
|||
|
|||
|
Yes, the old embeds will continue to work properly.
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 21:47.









