Site in read-only mode
This site is now read-only following the release of MyBB 1.8 and the new mods site.
If you are looking for MyBB 1.8 mods please click here to visit the new mods site.
You can continue to download submissions for MyBB 1.6 and earlier here, however new submissions will only be accepted via the new mods site.
Megavideo MyCode
Allows you to embed Megavideo.com videos
Regular Expression:
\[megavideo=([0-9]+)x([0-9]+)\](.*?)\[/megavideo\]
Replacement:
<object width="$1"
height="$2"><param name="movie"
value="http://www.megavideo.com/v/$3"></param><param
name="allowFullScreen" value="true"></param><embed
src="http://www.megavideo.com/v/$3"
type="application/x-shockwave-flash" allowfullscreen="true" width="$1"
height="$2"></embed></object>
How it works:
- Open the megaupload.com video you want to embed
- Click on "Embed video"
- The code should be something like
<object width="640"
height="332"><param name="movie"
value="http://www.megavideo.com/v/96CJRIDM30981fffac15e5ee8955ef1c648b31c1"></param><param
name="allowFullScreen" value="true"></param><embed
src="http://www.megavideo.com/v/96CJRIDM30981fffac15e5ee8955ef1c648b31c1"
type="application/x-shockwave-flash" allowfullscreen="true" width="640"
height="332"></embed></object>
so the unique hash is
96CJRIDM30981fffac15e5ee8955ef1c648b31c1. In this example
we don't change the resolution.
- The text for the forum will be
[megavideo=640x332]96CJRIDM30981fffac15e5ee8955ef1c648b31c1[/megavideo]