Version: 1.3.5, by Fangs404
Developer Last Online: Sep 2019
Category: BB Code Enhancements -
Version: 3.7.x
Rating:
Released: 10-21-2008
Last Update: Never
Installs: 80
Re-useable Code Translations
No support by the author.
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.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I have regular and HQ youtube bb code. Should I just change the BB codes in bb code manager? Will changing the bb code to a different dimension affect any of our previously embeded videos in various post/threads?
thanks.
Yes, it'll change all instances of youtube or youtubehq to be the new dimensions, including the previously embedded ones.
When i try to post these videos in the first post as a thread they come up as BORKED on firefox. When they are a reply to a thread so the 2nd post or after they work perfectly.
When i try to post these videos in the first post as a thread they come up as BORKED on firefox. When they are a reply to a thread so the 2nd post or after they work perfectly.
Mr. Fangs404, looks like YouTube changed their default video size again (for regular and HQ videos). Would you be kind enough to update the sizes again? thanks.
Mr. Fangs404, looks like YouTube changed their default video size again (for regular and HQ videos). Would you be kind enough to update the sizes again? thanks.
Hm, according to my calculations, regular/HQ is 644x390 and HD is 858x508 which is what the BBCode uses currently. Are you seeing something different on your end?
Has anyone noticed in the last week or so while using this modification that HQ videos are no longer defaulting in HQ mode when embedded? The HQ button is there, but it's no longer the default when the video starts. Did something change on the parameter level?
I just removed the HQ YouTube tag (youtubehq). It's no longer necessary since the embedded player now has a HQ button built in. The embedded player actually also has an HD button if HD is enabled for the video, but I'm leaving the HD tag (youtubehd) because it's a physically larger player.