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 |
#372
|
||||
|
||||
Works Nice On 3.8.4
Little modification since Youtube is going Wide Screen Open the Product File with word pad and replace the numbers 425 = 560 340 = 340 355 = 355 400 = 572 326 = 342 -------------------------------------------------------------------- (This what happens when you push the + Sign, take note that ratios must be equal if you wana play with sizes, 638 x 380) 638 = 897 515 = 533 Uninstall the product if you already have and re-install it with the new one u edited. (You have to UNINSTALL and then Re-Install so that edits take effect, overwriting product will NOT do.) |
#373
|
||||
|
||||
Does it work with v4.0?
|
#374
|
|||
|
|||
Works great!
Is there a way to get rid of the annotations? Bill |
#375
|
|||
|
|||
I'm having an issue with this in 3.8.5. It worked flawlessly in 3.8.4 but since the update it simply wraps the video url in [url] quotes within the [youtube] quotes. Here's an example of the code after it is changed:
[YOUTUBE]http://www.youtube.com/watch?v=LDyXdAf3LR0&feature=grec[/YOUTUBE] If I only use the video ID without the url it works: [YOUTUBE]LDyXdAf3LR0[/YOUTUBE] Any idea how to fix this? |
#376
|
|||
|
|||
Quote:
|
#377
|
||||
|
||||
I just installed this on 3.8.4 and it didnt work... it just had the you tube url inside of the you tube brackets. Didnt work with the You Tube ID only either ... Any idea?
|
#378
|
|||
|
|||
Quote:
|
#379
|
||||
|
||||
Snake I couldnt figure it out but I found another one that worked great. Required no tags in the post. When a user puts int he url for a video it automatically embeds it into the post. Here is a link to it.
https://vborg.vbsupport.ru/showthread.php?t=150761 |
#380
|
|||
|
|||
Why its not working with 3.8.5
|
#381
|
|||
|
|||
I use vb 3.8.5 en i get this error:S
I have installed product-viper_youtubegvideo Butt i get this message in the video + http://www.youtube.com/watch?v=26KLz4FkLjg" title="View this video at YouTube in a new window or tab" target="_blank">YouTube Video what i do wrong :S thnx for helping. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|