mv_embed will then rewrite the video tag to whatever playback method is available on the client be it native support, java cortado, mplayer or vlc
Mv_Embed is part of mwEmbed that provides the base library for other mediaWiki media functionality. For more info see projects overview on mediaWiki.
Multiple source types
If you want to be accessible to users that only have flash playback you can include both an ogg and flash video like so: (we presently use the multiple source feature here metavid.org). Now that Firefox 3.5 is out and java cortado has improved, flash fallback is less needed.
For a healthy web video future we recommend only using ogg also see Help build a better Internet with Open Video
<video> <source type="video/ogg" src="mymovie.ogg" /> <source type="video/x-flv" src="mymovie.flv" /> <source type="video/h264" src="mymovie.mp4" /> </video>
Multiple sources, Multiple timed text tracks and Simple remote Embedding
Also see usage in this blog
PHP based Flash Media Server
- To accompany the support of flash video a php based flv segment media server has been written.
- Based off of FLV4PHP
- Supports arbitrary clients that support flv playback. (like using VLC to play back flv)
- Tested with Sorenson h.263 flash baseline codec but in theory would work with other flash codecs in the flv container.
- sample usage to pull 20 to 40 seconds from myCLip.flv
<video src="mvFlvServer.php/myClip.flv?t=0:0:20/0:0:40" >
There are ofcoruse many other options (like thumbnail,poster, size, inline transcript display etc) (not all of which have been well documented yet) but in general we aim to support as much of the html5 video spec as possible and provide a rich player interface for using html5 video
This site [metavid.org] of course make heavy use of the library. Remote embedding of metavid content also uses the library. When using the remote embedding feature be mindful of Security Considerations
If your site uses mv_embed you can list it here.
MV_Embed is released under the GPL2 and hosted by the wikimedia foundation. In general the svn version represents the best version it can be checked out by running:
(new release will be made available shortly)