Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

uncaught exception: Error in Actionscript. Use a try/catch block to find error in getPlaylist after load


Hello,

trying to play around with rss playlists. the code below:

var a2 = jwplayer().getPlaylist();
jwplayer().load(a2);

gets the playlist and loads it back.

as soon as load is executed, any new calls to getPlaylist will always generate 'uncaught exception: Error in Actionscript. Use a try/catch block to find error ' upon calling getPlaylist

3 Community Answers

Pablo

JW Player Support Agent  
0 rated :

@Roman -

Thanks for the bug report. I can verify that it’s a bug. I’ve created a ticket to address the issue:

http://developer.longtailvideo.com/trac/ticket/1986

JW Player

User  
0 rated :

Hi there,

i've got the same problem here. We use two plugins (one which adds support for asx-playlists and another one which updates the html surrounding the player on playlist-events). After the call to playlist.load() in our ASX-Plugin any call to player.getPlayerList(), player.getPlaylistItem() etc. produces the mentioned exception.

So "edge case" and "worksforme" does not seem to be the best solution ;-) But anyway, could you perhaps tell me about the workaround for this problem?

Kind regards,

Karsten

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have an example?

This question has received the maximum number of answers.