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 |
#102
|
||||
|
||||
Doh! I had just installed this yesterday with the previous version. :cross-eyed:
Please recommend the best way to upgrade this mod. Would it be best to take out the custom BB codes that were instructed from previous? Do I uninstall the previous plugin and then install this new one? Just looking for the best recommended way of upgrading this. I didn't see any instructions for those of us upgrading. Thanks, Mark |
#103
|
||||
|
||||
Quote:
|
#104
|
|||
|
|||
I installed it, but it does not work for me, here is a link to it
http://www.ezpicking.com/forum/showt...?p=415#post415 please help as this would be a great feature for my fourm! Thank you. |
#105
|
||||
|
||||
Quote:
|
#106
|
|||
|
|||
That is a working youtube link :surprised:
http://www.youtube.com/watch?v=ya9CsMioPxA Just does not work in my post with this mod |
#107
|
||||
|
||||
Quote:
I love smart-arses.... |
#108
|
|||
|
|||
Ok, not sure what happened, but it seems if you edit the post it becomes invalid and you have to enter the youtube url again.
Works now. |
#109
|
|||
|
|||
Great mod, however I would strongly recommend a new feature much like the "hyperlink" pop-up windows.
If you currently click on Google or the YouTube link, it brings up the window where you enter the URL. However, many users do not enter a title within the tags, and then when they submit just the URL, it does not display the video.. I think there should be 2 windows. 1 window for the URL, and another for the TITLE. That would work perfectly! |
#110
|
||||
|
||||
Remove the old plugin entry and then import the new product.
I've edited my post to include upgrade instructions (sorry!). |
#111
|
||||
|
||||
Quote:
I know you hit on this one previously....but I'd like to know if it would be better to remove the Custom BB Codes we added with the previous version of this hack? Seemed like your response was more of a...you can if you want...but if not...there's no issues. But I'd rather not have it there if there's no need for it with this verion. Thanks again Viper007Bond. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|