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
npm installation is for projects that are using a bundler (like Browserify). Otherwise the browser has no way of knowing you’ve installed an NPM package.
If you’re not using a bundler, include the script through HTML: <script src="dist/video-stream-merger.js"></script>
I can confirm that the example from the readme is not working despite using webpack. Looks like it sets a global variable called "VideoStreamMerger" which conflicts with the import.
Changing it to import "video-stream-merger";
makes const merger = new VideoStreamMerger(); work
Hi! as described in the title. Steps for reproduction:
Result:
"TypeError: VideoStreamMerger is not a constructor" error.
The text was updated successfully, but these errors were encountered: