Commercial version in multiple domains Commercial version - Demo 6 / 6
Introduction
You may have multiple domains mapped to the same web site. In a typical scenario you have .com and .net domains and they point to the same web site. In these cases you need to have multiple product keys for Flowplayer because single key allows the product to work on single domain.
JavaScript coding
You can supply multiple product keys with keys configuration variable as follows:
// install Flowplayer with multiple product keys for different domains
$f("player", "http://releases.flowplayer.org/swf/flowplayer.commercial-3.2.7.swf", {
key: ['#$7162d2d730cf607ac6d', '#$797923938098779878E', '#$werw8dfaso080987798']
});
The value is a JavaScript array. The keys variable was introduced in Flowplayer 3.2. In previous versions you had to do a little more JavaScript to to make it happen.
Take a look at a standalone version of this demo. View its source code to get things going on your page.