The Arcive of vBulletin Modifications Site. |
|
Embed Break.com Videos - BBCode Details »»
|
|||||||||||||||||||||||||
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> [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> Use {option}: No Live Demo - No Registration Required 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. ![]() Supporters / CoAuthors Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Reserved.
|
|
#3
|
||||
|
||||
|
Nice hack. Wish they all used the same format for serving their videos. Would make it so much easier.
|
|
#4
|
||||
|
||||
|
Do you have a button image for this? So hard to remind users of tags
|
|
#5
|
||||
|
||||
|
Quote:
I sure don't. |
|
#6
|
||||
|
||||
|
Good work!! I'll use this for sure.
|
|
#7
|
|||
|
|||
|
thank"s
|
|
#8
|
||||
|
||||
|
installed
|
|
#9
|
||||
|
||||
|
Glad to hear other people are interested. I just wish that I could think of a more user friendly method...
|
|
#10
|
|||
|
|||
|
i installed a image too.. works great..
|
![]() |
|
|