player.js icon indicating copy to clipboard operation
player.js copied to clipboard

Unable to get property 'bitrate' of undefined or null reference (MS Edge)

Open kKreics opened this issue 9 years ago • 2 comments

Expected Behavior

During a video I should be able to swap it with a different one and be able to play it.

Actual Behavior

While swapping videos I get an error:

Unable to get property 'bitrate' of undefined or null reference.

Steps to Reproduce

JSFiddle: https://jsfiddle.net/7kLnk9gt/7/ Run the JSFiddle in MS Edge on MS Windows 10.

kKreics avatar Feb 17 '17 13:02 kKreics

Was wondering if this issue is going to be fixed?

I have encountered this issue in both Edge 38 and IE 11.

Every second time I call player.loadVideo(XXX) with different ID's it has this issue and the player won't load the video.

First tried a workaround where after calling loadVideo the first time I would wait 5 seconds, check the current time and if that was zero then call it again. This loaded the video - the audio was fine but the video was a mess and hadn't decoded properly.

Current workaround that I am using is to wait the 5 seconds and check if it playing, if not then load a different placeholder video and once that has loaded load the actual video. This seems to work but is not ideal.

mark-cameron avatar Mar 22 '17 09:03 mark-cameron

This issue should have been resolved. Thank you for reporting.

rebecca-sich avatar Feb 22 '18 22:02 rebecca-sich