Back to vBulletin 3.6 Add-ons

Embed XHTML valid YouTube and Google Video into your posts
Mod Version: 2.2.0, by Viper007Bond

This modification is in the archives.
vB Version: 3.6.8 Rating: (73 votes - 4.74 average) Installs: 1040
Released: 06 Nov 2006 Last Update: 24 Oct 2007 Downloads: 4227
Not Supported Uses Plugins Additional Files Re-usable Code  

==============================

==============================


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:

https://forums.finalgear.com/test-forum/embedded-video-test-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]
Using vBAdvanced? It lacks the hook this plugin uses apparently, so if you wish to use this plugin with it, you need to use only the video ID and NOT the full URL for it to display correctly. Nothing I can do about it, it's vBAdvanced's fault.

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.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s product-viper_youtubegvideo.xml (19.7 KB, 2393 downloads)

Screenshots


vblts.ru supports vBulletin®, 2022-2024