Talk:Mv Embed
From MvWiki
Contents |
Drupal?
I was wondering if you know of anyone who is planning on porting this functionality to Drupal.
I don't know of anyone working on that functionality Mdale 18:54, 30 March 2008 (UTC)
Summer of Code 2008 changes description draft
The changes made during the Summer of Code 2008 development of mv_embed have introduced the following modifications:
Usage Improvements
- mv_embed can handle streams of type other than ogg (most of the new support is focused on flash video)
- As per draft HTML5 video specification, <video> tags can now specify multiple sources using the <source> tag. For example:
<video style="width:400px" > <source type="video/ogg" src="myClip.ogg"/> <source type="video/x-flv" src="myClip.flv"/> </video>
- The visual layout has been made slightly more robust to sizing, allowing sizes to be specified in percentages:
<video style="width:100%; height:100%" src="http://www.archive.org/download/mv_senate_proceeding_05-15-08/senate_proceeding_05-15-08.flv"></video>
- The visual design has been modified to use a new skin composed of a self-contained .css style sheet and images for visual elements. The implementation is close to where it could allow a different skin of substantially different characteristics to be substituted.
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" >
Implementation Modifications
- plugin functionality has been moved to new mediaPlayer and mediaPlayers classes to allow a more streamlined interaction between plugins and various mime_types.
- source functionality has been moved to new mediaSource (modeling a single source) and mediaElement (modeling a <video> tag., i.e. a collection of sources) classes.
- detection of which plugin players support which mime types is done both through a hard-coded list, and (for Mozilla) by using navigator.mimeTypes
- player preference support has been improved to account for multiple mime-types
- implementation of the HTML interface has been revised to accommodate the new skin

