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. :)
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. :)

