You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

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.

Search engine friendly content

JavaScript coding

Following JavaScript trick shows how to handle multiple domain situation.

// map domain names to product keys
var keys = {
  'flowplayer.org' : '$c6e9311935842bee951',
  'flowplayer.net' : '$797923938098779878E',
  'flowplayer.com' : '$werw8dfaso080987798'
};

// use correct key in the installation
$f("player", "/swf/flowplayer.commercial-3.1.5.swf", {
  key: keys[location.host] || ''
});

You can of course do this also on the server side. If your domain name has an alternate www prefix every now and then it's easy to strip it out like this keys[location.host.replace("www.", "")].


Take a look at a standalone version of this demo. View its source code to get things going on your page.