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 |
#242
|
|||
|
|||
So there is no way to get it to work on vBadvanced? i.e. if I make a post that goes into the news module on the front page (and I put a youtube video in it) the youtube video will not show up on my main page?
|
#243
|
|||
|
|||
Quote:
anyone know Y ?????? |
#244
|
|||
|
|||
Just right click and save the icon from the first post and then upload to the /images/editor folder.
I used the modified file from confus on previous post #232 and it works perfectly (3.6.4) :up: |
#245
|
|||
|
|||
installed! and..op.. been a fan for "finalgear" for a while!
|
#246
|
||||
|
||||
installed and working, thanks!
|
#247
|
|||
|
|||
Quote:
Yes I was looking for the same thing but I was dissapointed that this functions is not available. I'm not a programmer but i did some digging in the codes and I was able to make it appear in the Quick Reply ...... Template to edit Show Thread Templates ---> showthread_quickreply Find: Code:
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td> Code:
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_youtube"><img src="$stylevar[imgdir_editor]/youtube.gif" width="21 height="20" alt="$vbphrase[youtube]" /></div></td> <td><div class="imagebutton" id="{$editorid}_cmd_wrap0_gvideo"><img src="$stylevar[imgdir_editor]/google.gif" width="20" height="20" alt="$vbphrase[google]" /></div></td> I hope this helps. |
#248
|
|||
|
|||
Anyone find out how to disable this feature in the signature posting editor yet?
|
#249
|
|||
|
|||
I installed on my board today, I run 3.6.5 and It works with no problems. I have one question when people go on Youtube or Google even if there is 3 or 4 people at the same time does my board slow down..
Great Mod.. RON |
#250
|
||||
|
||||
No, nothing is being loaded off your server but a few lines of HTML. The video is being streamed off their servers.
|
#251
|
|||
|
|||
Works Great!!! Thanks !!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|