Version: 1.3.5, by Fangs404
Developer Last Online: Sep 2019
Category: BB Code Enhancements -
Version: 3.8.x
Rating:
Released: 01-13-2009
Last Update: Never
Installs: 217
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.
great codes installed ... but if u can add those feature it will be even better for me and i think for others
1.just like u add the images and urls in vb i want the same option for youtube ..
2.how can i elimnate the view of any Related Videos after i finished watching the videos (please_)
great codes installed ... but if u can add those feature it will be even better for me and i think for others
1.just like u add the images and urls in vb i want the same option for youtube ..
2.how can i elimnate the view of any Related Videos after i finished watching the videos (please_)
I don't understand your first question. As for your second question, I don't think that's possible (but I may be wrong).
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.
I noticed that when viewing a thread with this BBcode embedded YouTube video that the "Thread Tools"/"Search this Thread"/"Rate Thread"/"Display Mode" drop-down menus get covered up by the video when those menus are clicked on. All I can see are the first two menu drop-down options. (Most of our embedded videos are contained in their own threads, so the videos are always in post #1 of each of the video-forum threads. If the videos were only within posts #2 or greater then this issue wouldn't happen, since the thread menu links are immediately above post #1.)
Is there a way to make sure that the YouTube video doesn't get placed on the top-most layer of the thread?
I noticed that when viewing a thread with this BBcode embedded YouTube video that the "Thread Tools"/"Search this Thread"/"Rate Thread"/"Display Mode" drop-down menus get covered up by the video when those menus are clicked on. All I can see are the first two menu drop-down options. (Most of our embedded videos are contained in their own threads, so the videos are always in post #1 of each of the video-forum threads. If the videos were only within posts #2 or greater then this issue wouldn't happen, since the thread menu links are immediately above post #1.)
Is there a way to make sure that the YouTube video doesn't get placed on the top-most layer of the thread?
Hm, good question. I don't know how this would be done offhand. The JavaScript for the pop-up menu would probably have to be altered to make sure it stays on top. I don't know what changes you'd need to make offhand.