Declaring Urls as described here will break the code and cause Error
Current Behavior
Error occurs. You get
Uncaught TypeError: url.match is not a function
at YouTube.load (YouTube.js:170)
at Object.onMount (Player.js:83)
Expected Behavior
Player should load both URL and give option to play either (similar to when loading playlist).
Steps to Reproduce
Create player like
<ReactPlayer playing url={['https://www.youtube.com/watch?v=d46Azg3Pm4c', 'https://www.youtube.com/watch?v=eVsXVzSse8I']} />
Environment
- Browser: Chrome
- Operating system: MacOs 10.15.5
Declaring Urls as described here will break the code and cause Error
Current Behavior
Error occurs. You get
Expected Behavior
Player should load both URL and give option to play either (similar to when loading playlist).
Steps to Reproduce
Create player like
<ReactPlayer playing url={['https://www.youtube.com/watch?v=d46Azg3Pm4c', 'https://www.youtube.com/watch?v=eVsXVzSse8I']} />Environment