#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
  #2  
Old 17th May 2012, 15:10
mymedlab mymedlab is offline
Junior Member
 
Join Date: Apr 2012
Posts: 3
Default

How can you enable a progress bar on the bottom of the player through the API?
Reply With Quote
  #3  
Old 17th May 2012, 17:57
mbaron's Avatar
mbaron mbaron is offline
Livestream Producer Support
 
Join Date: Dec 2010
Location: New York, NY
Posts: 1,726
Default

mymedlab,

The Dev Key is not required for all APIs.

In regards to the progress bar, further info can be found here in the Player API section:

http://www.livestream.com/userguide/...lex_Developers

Matt
Livestream Support
Reply With Quote
Reply

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