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
Webpack defaults to using node-libs-browser when specifying the web platform. This means that any time it would encounter any of the known compatible node libs it'll be replaced with an equivalent web implementation. In our case, that happens with the events module.
Vite, on the other hand is built on top of rollup which doesn't include this behavior by default but gives you the ability to add it in with its flexible configuration.
There's an open issue in the Vite repo actively discussing this.
Closing as this is a bundler issue and not a player nor sample bug
Describe the bug
Error appear in console and cannot play video when running npm-sdk sample code on Vitejs
Package info
"amazon-ivs-player": "^1.12.0"
Sample Code:
https://stackblitz.com/edit/vitejs-aws-ivs?file=src%2Fplayer.ts&terminal=dev
Screenshots
The text was updated successfully, but these errors were encountered: