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.
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]
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.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
You do not see any Instruction ? Maybe you should read the last Post before yours and wait for a answer ?
That's correct....don't bother hijacking my post amigo. I still don't get what you're refering to. And if there was a "last post" before mine....it may be possible I was in the middle of typing my post as the last poster was hitting the save button.
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!
Remove the old plugin entry and then import the new product.
I've edited my post to include upgrade instructions (sorry!).
Thank you Viper007Bond.
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.