PDA

View Full Version : How to add Break.com videos (like youtube)



ComputerVitals
Tue 5th Sep '06, 1:36am
Here is the code I use to add Break.com video embedding.
In cutsombb codes

Title: break
Tag: break
example:
MTQ5OTMw


When at your break.com video page, look at the embed and copy the embed code, but you will only use the code after
http://embed.break.com

Breaks embed code: Just use the bold code between the tags.
<object width="425" height="350"><param name="movie" value="http://embed.break.com/MTQ5OTMw"></param><embed src="http://embed.break.com/MTQ5OTMw" type="application/x-shockwave-flash" width="425" height="350"></embed></object>

This puts a nice I agree then will drop down and show the video.



<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="466">
<tr><td class="smallfont"><strong>IMPORTANT NOTICE:</strong> No media files are hosted on these forums. By clicking the link below you agree to view content from an external website. We can not be held responsible for the suitability or legality of this material. If the video does not play, wait a minute or try again later.</div></td></tr>
<tr><td class="smallfont" align="right"><a href="#" onclick="return toggle_collapse('{param}')"></a><a href="#" onclick="return toggle_collapse('{param}')"> I AGREE</a></td></tr>
<tbody id="collapseobj_{param}" style="display:none;"><tr><td class="alt1" align="center"><object width="425" height="350"><param name="movie" value="http://embed.break.com/{param}"></param><embed src="http://embed.break.com/{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object></td></tr></tbody>
</table>

Joe Gronlund
Thu 14th Sep '06, 12:59am
You can use the embed code on YouTube's site to make a BB code so users can display YouTube movies inside of their posts, with the I Agree dropdown notice:

Admin CP -> Custom BB Codes -> Add New BB Code

Title - YouTube
Tag - youtube
Replacement:


<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="466"><tr><td class="smallfont"><strong>IMPORTANT NOTICE:</strong> No media files are hosted on these forums. By clicking the link below you agree to view content from an external website. We can not be held responsible for the suitability or legality of this material. If the video does not play, wait a minute or try again later.</div></td></tr>
<tr><td class="smallfont" align="right"><a href="#" onclick="return toggle_collapse('{param}')"></a><a href="#" onclick="return toggle_collapse('{param}')"> I AGREE</a></td></tr><tbody id="collapseobj_{param}" style="display:none;"><tr><td class="alt1" align="center"><object width="425" height="350"><param name="movie" value="<A href="http://www.youtube.com/v/{param}"></param><embed">http://www.youtube.com/v/{param}"></param><embed src="http://www.youtube.com/v/{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object></td></tr></tbody>
</table>


Example - JFwCCL0Vh6U

Thanks to ComputerVitals for the I Agree dropdown Code..