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 |
#282
|
|||
|
|||
anyone can tell if this mod works fine with 3.6.8 ? ?
|
#283
|
||||
|
||||
As it's a BBCode replacement I don't think it poses any kind of risk, just like the [b] code replaces the html for <b>
|
#284
|
||||
|
||||
This is a very useful product, may I suggest adding regional variations of YT in your next version though? (Eg, uk.youtube.com, ie.youtube.com)
|
#285
|
|||
|
|||
Thank you very much, Kinneas. Someone at the vBulletin.com forum had expressed some concern, but I guess they just saw "Embed XHTML" in the title and thought it actually enables HTML.
|
#286
|
||||
|
||||
Quote:
Sorry if someone's mentioned it already, but I found a way to make it work. In the plugin "Find Valid BBCode Calls & Handle Full URLs", find: PHP Code:
PHP Code:
|
#287
|
||||
|
||||
Thanks.
Yeah, I need to spend some time and update this plugin a little (minor fixes and such). Been too busy with paid work and my World of Warcraft addiction. >_< |
#288
|
||||
|
||||
Quote:
dump WoW |
#289
|
|||
|
|||
|
#290
|
|||
|
|||
I've installed this mod a few times; it's fantastic and has never caused any problems.
However, on my most recent install, for some reason I can't figure out, the font color is not showing up properly from my .tcat settings. If I change any other aspects of the fontunderline, bold, whatever, that works, but the font color won't change, even though it works in all the other .tcat instances in my forum. I've been tearing my hair out trying to figure out what might be going on. I've tried replacing the tcat code in the BBCode for this mod, but those font colors don't take, either. Does anyone have any idea what might be causing this issue? At this point I don't think it's the mod, but since that's the only place where the settings aren't working properly, I've posted the issue in this thread. There must be something I've missed. Any insight would be very appreciated. Thanks again for the mod, Viper. Great, great work. |
#291
|
||||
|
||||
v2.0.2 Released
YouTube has changed the height of their embeds. This update should automatically change it to the new value of 355. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|