Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
add fp_getLicenseKeyId() to the external interface
Browse files Browse the repository at this point in the history
  • Loading branch information
anssip committed Feb 10, 2014
1 parent 35b1ca0 commit 7c44a0d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions core/src/actionscript/org/flowplayer/view/Flowplayer.as
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ package org.flowplayer.view {
addCallback("getId", function():String {
return id;
});

addCallback("getLicenseKeyId", function():String {
var LicenseKey:Class = Class(getDefinitionByName("org.flowplayer.FlowplayerLicenseKey"));
return LicenseKey["id"];
});
addCallback("play", genericPlay);
addCallback("playFeed", playFeed);
addCallback("startBuffering", function():void {
Expand Down
8 changes: 5 additions & 3 deletions core/test/simple.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
id="player">
</a>
<script>
flowplayer("player", "../../../flash-build/build/flowplayer-3.2.18.swf",
flowplayer("player", "https://s3.amazonaws.com/flash.cdn.dev94.flowplayer.us/swf/flowplayer.commercial-3.2.19-dev.swf",
{
log: { level: 'debug', filter: 'org.flowplayer.controls.scrubber.ScrubberSlider'},
log: { level: 'debug', filter: 'org.flowplayer.controller.VolumeController'},

key: '#$b6223bfbd646c621758',

Expand Down Expand Up @@ -80,7 +80,9 @@
autoBuffering: true
// ,
// duration: 20
}
},

persistVolumeLevel: false


});
Expand Down

0 comments on commit 7c44a0d

Please sign in to comment.