Basics of Configuration Configuration - Demo 1 / 8
Introduction
Here is a common configuration where we the playback stops at the first frame of the video and starts buffering the video data into memory. This is the way to go when you have tons of videos for your site and making a splash image for all of them is too much.
HTML coding
Just a simple player container.
<a
href="http://flowplayer.org/video/flowplayer-700.flv"
style="display:block;width:425px;height:300px;"
id="player">
</a>
JavaScript coding
This is the first configuration demo and we recommend that you read our configuration documentation if you want to understand more what is happening here.
flowplayer("player", "/swf/flowplayer-3.1.3-dev.swf", {
clip: {
// these two configuration variables does the trick
autoPlay: false,
autoBuffering: true // <- do not place a comma here
}
});
We used two clip properties here.
Take a look at a standalone version of this demo. View its source code to get things going on your page.