This is a message.

Hardware Acceleration

Configuring Flowplayer to use accelerated video rendering

standalone demo

Flowplayer supports the Stage Video API that was introduced in Flash Player 10.2. Stage Video enables beautiful, high-performance video playback across platforms. Stage Video helps websites deliver best-in-class video across screens and browsers by enabling access to hardware acceleration of the entire video pipeline.

The player container

The HTML code just contains the player container.

<!-- player container-->
<a
href="http://stream.flowplayer.org/speed_trailer_1080p.mp4"
style="display:block;width:425px;height:300px;"
id="player">
</a>

HTML

Javascript code

To enable hardware acceleration add wmode: 'direct' to the Flash configuration and accelerated: true to the settings of the clip object in the player configuration.

flowplayer("player", {
// flash configuration
src: "http://releases.flowplayer.org/swf/flowplayer-3.2.18.swf",
 
// required for hardware accelaration to take effect
wmode: "direct"
}, {
// player configuration
clip: {
// enable hardware acceleration
accelerated: true
}
});

JavaScript

Note that this feature is not supported by some browsers and/or systems. The Flash plugin will then fail over to software acceleration silently.