I've got an instance of flowplayer working on a product page on one of my websites (DOMAIN-1). The content of this page is being fed into a page DOMAIN-2.
When using the simple configuration
I've tried using the Multiple Domains config in the sample pages, with no luck.
When i use the following code, the commercial license on BOTH domains is not working!
What am I doing wrong?
Can flowplayer be used in a Feed?
When using the simple configuration
flowplayer("player", "/swf/flowplayer.commercial-3.1.5.swf", {
// product key from your account
key: '$c6e9311935842bee951'
});
It works fine for DOMAIN-1, but the flowplayer logo is appearing on DOMAIN-2.... this is as expected.I've tried using the Multiple Domains config in the sample pages, with no luck.
When i use the following code, the commercial license on BOTH domains is not working!
<script src="http://www.DOMAIN-1.com/video/flowplayer-3.1.2.min.js" type="text/javascript"></script>
<script src="http://www.DOMAIN-1.com/video/config.js" type="text/javascript"></script>
<a href="http://www.DOMAIN-1.com/video/video.flv" style="display: block;
width: 400px; height: 280px; margin: 0 auto; border: 1px solid #ccc; padding: 20px;"
id="player">
</a>
<script type="text/javascript" language="JavaScript">
var keys = {
'www.DOMAIN-1.com': '$XXXXXX',
'www.DOMAIN-2.com': '$YYYYYY'
};
$f("player", "http://www.DOMAIN-1.com/video/flowplayer.commercial-3.1.2.swf", {
key: keys[location.host] || '',
clip: conf.defaults,
plugins: { controls: conf.skins.tube }
});
</script>
What am I doing wrong?
Can flowplayer be used in a Feed?