The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Embed XHTML valid YouTube and Google Video into your posts Details »» | |||||||||||||||||||||||||||
Embed XHTML valid YouTube and Google Video into your posts
Developer Last Online: Dec 2017
Just thought I'd share what I did to allow my users to embed YouTube and Google Video videos into posts on my forum. This is my very first mod I've made since switching to vB, so forgive me if I screwed something up. Demo: http://forums.finalgear.com/test-for...-thread-14892/ The black bar will be different for you as it'll match your theme (it uses the same style as the whole quick reply box). Upgrading from v1.x: Just remove the plugin you added before (manage plugins -> delete) and then continue on to the installation instructions. If you already have v2.x installed, you do NOT need to do this. Installation: Download and install the attached product. It will automatically create the new custom BBCode and add in some filtering plugins. Save the two attached images and upload them to /images/editor/. Usage: Here's some examples: Code:
[youtube]http://www.youtube.com/watch?v=hl2UUunlI2Q[/youtube] [youtube]hl2UUunlI2Q[/youtube] [youtube="http://www.youtube.com/watch?v=hl2UUunlI2Q"]Aston Martin Crash[/youtube] [youtube="hl2UUunlI2Q"]Aston Martin Crash[/youtube] Code:
[gvideo]http://video.google.com/videoplay?docid=3688185030664621355[/gvideo] [gvideo]3688185030664621355[/gvideo] [gvideo="http://video.google.com/videoplay?docid=3688185030664621355"]1980's Izuzu Gemini Advertisement[/gvideo] [gvideo="3688185030664621355"]1980's Izuzu Gemini Advertisement[/gvideo] How do I customize the look of the new box thingies? Just edit the new custom BBCode items. It's in the admin area, near the bottom. Show Your Support
|
Comments |
#292
|
|||
|
|||
thank you for the update
|
#293
|
||||
|
||||
All of the youtube and google videos on my site won't load now. They youtube videos just sit there with the loading graphic in the middle and the google videos don't even attempt to load. I have a ton of videos on the site and I am afraid I am going to have to manually fix them somehow.
Any ideas? www.thepublicenemy.net |
#294
|
||||
|
||||
It seems that they won't load up a thumbnail now as they are loading or give you the play button in the middle of the image. You have to hit the play button on the bottom left for it to play otherwise it will try to load the entire video I guess.
|
#295
|
|||
|
|||
I seem to have a problem getting it to work... when my editor is in wysiwyg mode...
why? because the url gets parsed before the youtube or gooble tags.. if i switch off the wysiwyg mode.. i can see what happend: [YOUTUBE][URL ]http://www.youtube.com/watch?v=_V_7u7zuiEM[/URL][/YOUTUBE] the [URL ][/URL] tag is added as soon as I paste the url... and it somehow overrides the youtube tags... Only workaround.. if i edit the post.. switch to non-wysiwyg mode and remove the [ url] tags manually... :-( no one else have the problem??? Felix |
#296
|
||||
|
||||
You don't need to use the url. You can just put the code in there as shown in the examples.
|
#297
|
||||
|
||||
Weird. Link me to an example please so I can check out the source HTML.
|
#298
|
||||
|
||||
v2.2.0 Released
I got tired of watching tiny little videos on my forums, so I added a +/- button for increasing the video size to 150% of normal. Should make it easier to watch some videos. In action: http://forums.finalgear.com/showthread.php?t=14892 |
#299
|
|||
|
|||
Simple overwrite for the upgrade, then?
|
#300
|
|||
|
|||
Great Work!
Thanks! |
#301
|
|||
|
|||
Updated but we dont see the + / - sign, whats wrong ?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|