Skip to content
This repository has been archived by the owner on Oct 21, 2021. It is now read-only.

Possible to use with MediaSource? #10

Closed
bradisbell opened this issue Sep 15, 2017 · 1 comment
Closed

Possible to use with MediaSource? #10

bradisbell opened this issue Sep 15, 2017 · 1 comment

Comments

@bradisbell
Copy link

When I extend MediaSource, I receive the error:

Uncaught TypeError: Failed to construct 'MediaSource': Please use the 'new' operator, this DOM object constructor cannot be called as a function.

This seems to be a similar problem that your library addresses for other classes. Can the same or similar workaround be applied to MediaSource?

@josh
Copy link
Contributor

josh commented Dec 12, 2017

I'm not sure, but the scope of this plugin targets the Custom Elements use case. Sorry.

@josh josh closed this as completed Dec 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants