Prev Previous Post   Next Post Next
  #1  
Old 17th May 2012, 09:58
mymedlab mymedlab is offline
Junior Member
 
Join Date: Apr 2012
Posts: 3
Default Events and DevKey

I can't get any events to fire while developing on my local machine. When I open up chrome dev tools, I can manually type in the commands to control the player- load, setDevKey, etc. - but my callback never gets called:

function livestreamPlayerCallback(event) {
alert(event);
}

Further, what is the purpose of the devKey? Without even setting it, I have access to the players APIs through the console. I can load the channel and start playing without entering the devKey. This is using the HTML API.

*update*
Seems the events not firing was a scope issue that is now resolved, but still curious as to what the devKey provides in terms of additional API access.

Last edited by mymedlab; 17th May 2012 at 10:08. Reason: events
Reply With Quote
 

Tags
events chrome devkey

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump