• added "mm" BBCode for embedding videos from Media Matters
When you watch a Media Matters video, there's a little tab at the bottom right that says "embed". If you click on it, you get a popup with some code.
Example:
<object width="320" height="260"><param name="movie" value="http://cloudfront.mediamatters.org/static/flash/mediaplayer316.swf"></param><param name="flashvars" value="config=http://mediamatters.org/embed/cfg?flv=
http://cloudfront.mediamatters.org/static/video/2009/07/22/msnbc-20090722-pigmentation.flv"></param><embed src="http://cloudfront.mediamatters.org/static/flash/mediaplayer316.swf" type="application/x-shockwave-flash" flashvars="config=http://mediamatters.org/embed/cfg?flv=http://cloudfront.mediamatters.org/static/video/2009/07/22/msnbc-20090722-pigmentation.flv" width="320" height="260"></embed></object>
The key URL is in bold, blue font. Strip the rest of that HTML crap away, leaving ONLY the link that ends in ".flv" and wrap it with "mm" BBCode tags:
- Code: Select all
[mm]http://cloudfront.mediamatters.org/static/video/2009/07/22/msnbc-20090722-pigmentation.flv[/mm]