Back to vBulletin 3.6 Add-ons

Embed Break.com Videos - BBCode
Mod Version: 1.00, by Get Shorty

This modification is in the archives.
vB Version: 3.6.5 Rating: (1 vote - 5.00 average) Installs: 9
Released: 19 Apr 2007 Last Update: Never Downloads: 1
Not Supported  

  • XHTML 1.1 Transitional valid
  • Tested on VB 3.6.5

I had a few users requesting the ability to embed videos from Break.com in their posts, so this is what I came up with.

Keep in mind that this is not user friendly. You'll see why in a minute.

Because of the URL structure that Break.com uses, it's not a simple task to find the code that you'll need to use. Here is what your users will have to do to embed a video:

If you find a video on Break.com that you'd like to embed, click on the "Embed & Blog" button. You'll be presented with the html code to embed the video on a web site. That code will look something like this, and the important part is in bold.

Code:
<object width="425" height="350">
<param name="movie" value="http://embed.break.com/MjU3ODkx"></param>
<embed src="http://embed.break.com/MjU3ODkx" type="application/x-shockwave-flash" width="425" height="350"></embed></object><br><font size=1><a href="http://www.break.com/index/cruise_ship_caught_in_cyclone.html">Cruise Ship Caught In Cyclone</a> - <a href="http://www.break.com/">Click Here for more great videos and pictures!</a></font>
Sample:

[break]MjU3ODkx[/break]

On to the BBCode:

Title: Break.com Video

Tag: break

Replacement:

HTML Code:
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0">
<thead>
	<tr>
		<td class="tcat" colspan="2" style="text-align:center">
			<a href="http://break.com" title="Break.com" target="_blank">Break.com Video</a>
		</td>
	</tr>
</thead>
<tbody>
	<tr>
		<td class="panelsurround" align="center">
			<object type="application/x-shockwave-flash" width="425" height="350" data="http://embed.break.com/{param}">
<param name="movie" value="http://embed.break.com/{param}" />
<param name="wmode" value="transparent" />
</object>
		</td>
	</tr>
</tbody>
</table>
Example: [break]MjU3ODkx[/break] (or choose another video that you'd like to use)

Use {option}: No

http://forum.alcoholreport.com/t6681/

This is my first contribution to vB.org, so take it easy on me if I've done anything wrong. If anyone has a button image to use, please post it. If anyone has any suggestions or improvements, feel free to contribute.

Download

No files for download.

Supporters / CoAuthors

  • Get Shorty

Similar Mods

Show Thread Enhancements [BBCODE] Embed StreetFire.Net Videos in a Post vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024