You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
player.loadVideo(id) should restore to a valid state, after a catch statement was entered.
Actual Behavior
While using player.loadVideo(id) and the video doesn't exists, or any case that catch is entered, if one try another call to loadVideo function with a valid id, the player can't leave the catch state. I could resolve this with a call to if (player) player.destroy() before every new Player call.
Steps to Reproduce
1 - Call player.loadVideo() with an invalid id
2 - Treat the error with a catch statement - One should see the error in console, a 404.
3 - Call player.loadVideo() again, this time with some valid id.
4 - One should see the same error over and over, making impossible to load a valid video.
The text was updated successfully, but these errors were encountered:
Expected Behavior
player.loadVideo(id)
should restore to a valid state, after acatch
statement was entered.Actual Behavior
While using
player.loadVideo(id)
and the video doesn't exists, or any case thatcatch
is entered, if one try another call to loadVideo function with a valid id, the player can't leave thecatch
state.I could resolve this with a call to
if (player) player.destroy()
before everynew Player
call.Steps to Reproduce
1 - Call
player.loadVideo()
with an invalid id2 - Treat the error with a
catch
statement - One should see the error in console, a 404.3 - Call
player.loadVideo()
again, this time with some valid id.4 - One should see the same error over and over, making impossible to load a valid video.
The text was updated successfully, but these errors were encountered: