cookpete / react-player

A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion
https://cookpete.github.io/react-player
MIT License
8.9k stars 1.12k forks source link

fix: dynamic Mux import #1758

Closed luwes closed 2 months ago

luwes commented 2 months ago

fix #1755

this fixes an issue where Webpack errors on a dynamic import with an URL as variable. tested in a Next.js app where I could repro the error.