MP4 pseudostreaming with FLV fallback Streaming plugins - Demo 2 / 4
Introduction
Flowplayer pseudostreaming plugins supports streaming of high quality H.264 videos. These offer better quality than FLV videos. Look for following demo on fullscreen mode and you'll see the difference.
H.264 videos are only supported by Flash version 9.0.115 and above and for this reason we offer regular FLV file for older Flash versions. This kind of setup is used as the first demo on Flowplayer home page.
Flowplayer configuration
First thing you should to is to prepare your video files for pseudostreaming. After that you can setup things as follows.
flowplayer("player", "/swf/flowplayer-3.1.5.swf", {
// this will enable pseudostreaming support
plugins: {
pseudo: { url: 'flowplayer.pseudostreaming-3.1.3.swf' }
},
// clip properties
clip: {
// our clip uses pseudostreaming
provider: 'pseudo',
// provide MP4 file for Flash version 9.0.115 and above. otherwise use FLV
url: flashembed.isSupported([9, 115]) ?
'http://e1p2.simplecdn.net/flowplayer/eye-pseudo.mp4' :
'http://e1p1.simplecdn.net/flowplayer/flowplayer-700.flv'
}
});
Take a look at a standalone version of this demo. View its source code to get things going on your page.