Go to-
Admincp > Custom BB Codes > Add New BB Code.
Fill out these details:
Quote:
Title:
Megavideo
BB Code Tag Name:
mvideo
Replacement:
Code:
<object width="640" height="344">
<param name="movie" value="http://www.megavideo.com/v/{param}"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.megavideo.com/v/{param}" type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="344"></embed>
</object>
Example:
[mvideo]T87U9QTI50ec53ef0f1f87863fb3a84a94e38e872[/mvideo]
Description:
Megavideo Embed Code
Use {option}
No
Button Image: (Optional)
http://www.megavideo.com/favicon.ico
Remove Tag If Empty
Yes
Disable BB Code Within This BB Code
Yes
Disable Smilies Within This BB Code
Yes
Disable Word Wrapping Within This BB Code
Yes
Disable Automatic Link Parsing Within This BB Code
Yes
|
Then, when it comes to embedding a video,..
Click the "Embed Video" button that's on the megavideo page of the video you want to embed. They'll provide you with a code that contains a link in it that's similar to:
Code:
http://www.megavideo.com/v/T87U9QTI50ec53ef0f1f87863fb3a84a94e38e872
We would need everything after the /v/, so in this case it would be:
Code:
T87U9QTI50ec53ef0f1f87863fb3a84a94e38e872