VideoContext icon indicating copy to clipboard operation
VideoContext copied to clipboard

InvalidAccessError when calling clearTimelineState or destroy in Microsoft Edge

Open kruncher opened this issue 5 years ago • 2 comments

The "InvalidAccessError" error occurs in some circumstances when the clearTimelineState or destroy methods are called of the MediaNode.

The problem seems to be caused by the following line: https://github.com/bbc/VideoContext/blob/develop/src/SourceNodes/medianode.js#L198

It seems that Microsoft Edge does not allow one to assign undefined to srcObject; but it does appear to like having null assigned to it.

kruncher avatar Apr 04 '20 15:04 kruncher

Thanks for reporting this. Which version of Edge are you using?

chrisn avatar Apr 04 '20 16:04 chrisn

image

kruncher avatar Apr 04 '20 16:04 kruncher