Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InvalidAccessError when calling clearTimelineState or destroy in Microsoft Edge #198

Open
kruncher opened this issue Apr 4, 2020 · 2 comments

Comments

@kruncher
Copy link

kruncher commented Apr 4, 2020

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.

@chrisn
Copy link
Member

chrisn commented Apr 4, 2020

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

@kruncher
Copy link
Author

kruncher commented Apr 4, 2020

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants