Pseudostreaming and first frame as a splash Streaming plugins - Demo 3 / 4
Introduction
Pseudostreaming allows you to start the video in any position you want. This gives you a good possibility to setup a splash image from the video at any position. As with normal video files you setup the player to stop at the beginning with following setup
clip: {
autoPlay: false,
autoBuffering: true
}
with pseudostreaming you can tweak the splash screen using start property on the clip. It will seek the initial screen to that position. In this demo we seek 64ms forward.
Flowplayer configuration
Here is the JavaScript configuration for above example.
$f("player", { src: "/swf/flowplayer-3.1.5.swf", cachebusting: false }, {
log: { level: 'debug', filter: 'org.flowplayer.view.Preloader' },
// this will enable pseudostreaming support
plugins: {
pseudo: { url: 'flowplayer.pseudostreaming-3.1.3.swf' }
},
// clip properties
clip: {
// these two settings will make the first frame visible
autoPlay: false,
autoBuffering: true,
// locate a good looking first frame with the start parameter
start: 62,
// make this clip use pseudostreaming plugin with "provider" property
provider: 'pseudo',
// this is our video file. our server supports pseudostreaming
url: 'http://e1p1.simplecdn.net/flowplayer/Extremists.flv'
}
});
View this demo as a standalone version