I want to log some data on player’s loading,start or stop event.
I am using some example code but that is not working it saying that this function is not found. need some urgent help on this.
this is my code.
export function load(key, url, token, licenseserver, playerid) {
var conf = {
key: key
};
Thankyou very much @Kishore its working perfectly.
one more thing how can i play the video for specific time for example i hava video of 1 minute. on button click or any event it will play for 10 seconds means it should be configurble. like player…play(starting time,end time)
player.play(10,20);
That feature is not available out of the box, you have to either run your own timer in the app and stop the playback, or listen for the timechanged player event and stop the playback based on the current time.