vBulletin

Thank you for visiting. This is our website archive. Please visit our main website by clicking the banner above.
vBulletin FAQ is dedicated to helping the forum owner build, manage and profit from his vBulletin Forum
vBulletin Web Hosting - Free skins and styles for your vBulletin - Search Engine Optimization




Embed Video on your forum, safely with bbcode

Big Dan
02-22-2007, 11:44 AM
See update at end of this post

A frequently asked question around webmaster forums is how do I allow users to embed video safely. There are many hacks available to do this, some work, some don't. I've found that bbcode replacements are the easiest for administrators to implement and explain to the end user.

For now, we have Google Video and YouTube listed as I need more I'll figure them out and post them. If you already have code for another video service, please post it, I will then test it and add it to this tutorial. :)

Please use the page navigation menu below for specific codes.

Credit: Kalina & kdemonte of Web Talk Forums (http://www.webtalkforums.com/) for the original code.

Login to your ACP (Admin Control Panel)
In the navigation panel (left hand frame) scroll until you see "Custom BB Codes", expand it and click "Add New BB Code"

Enter the following exactly as it appears:

Title: Google Video Code

Tag: google

Replacement: SEE ATTACHED FILE

Example: -6820450293567607968 (you can change this to fit your forum)

Description: Embeds Google videos

Use Option: No

Button Image: Leave blank

Click Save


Explaining this to your members:


This system uses the doc ID number, there is no need to include the full URL.

You can find the doc ID by looking at the url:

A typical Google video URL looks like this:

http://video.google.com/videoplay?docid=4472251329092638042

The "doc ID" is the part after docid=

Wrapping this up, you embed the video by wrapping the doc ID in google tags.

For example: 4472251329092638042

The above bbCode will embed video 4472251329092638042 from Google.

Update July 14, 2007:

There is now a modification for vBulletin called AME - Auto Media Embedding (http://www.vbulletin.org/forum/showthread.php?t=150863) which embeds many video formats; YouTube, Google, MySpace to name a few automatically just by a member pasting the link into a thread.

You can still use the method outlined above but this method is much more user friendly and easier for admins. :)

Elsie
04-27-2007, 10:41 AM
I'd really like to use this Danny, but there doesn't seem to be anything in the Replacement code box for YouTube..... or am I missing something?! lol

Thanks.

kiepanxin
04-28-2007, 04:11 PM
we got code for dailymotion?

laura66a
04-28-2007, 05:08 PM
How about just code for Windows Media Player?

Laura

kiepanxin
04-28-2007, 05:46 PM
How about just code for Windows Media Player?

Laura

yep i need that window media player code too
cuz i cant play mp3 music

hakan_72_123
05-02-2007, 08:57 PM
thanks alot

Big Dan
05-06-2007, 06:16 AM
How about just code for Windows Media Player?

Laura

I found this on vb.org:

http://www.vbulletin.org/forum/showthread.php?t=105312

It looked like exactly what yous want. :)

Big Dan
05-06-2007, 10:05 AM
I'd really like to use this Danny, but there doesn't seem to be anything in the Replacement code box for YouTube..... or am I missing something?! lol

Thanks.

Sorry for missing this -- Joey must have installed the mod here, and it's messing with my code.. I attached the replacements for both YouTube and Google videos in a text file.

Weetabix
05-23-2007, 01:42 AM
I installed the Youtube code on my site and posted explaining how to use it. Is there a way to disable the code in certain posts/sections as example code is a lot easier to write when you're not trying to explain "[*yt] without the stars"?

ps. 1st post and very impressed with some of the content here. Expect lots of "/installed" from me over the coming weeks :) Top job lads.

Big Dan
05-23-2007, 01:15 PM
Sure just wrap the code in noparse tags, like I did above:

For example 4472251329092638042

Will display:
4472251329092638042

:)

Weetabix
05-23-2007, 11:30 PM
You're an absolute star :) Thank you.

Big Dan
07-14-2007, 05:11 AM
Original post updated. :)


vBulletin

seo book

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum