A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion
There is a problem where the onReady function in react-player isn't being called on IOS when autoPlay is false. This is because IOS stops loading past metadata when autoplay is off (readyState remains at 1).
Also get rid of line 83 which seems like a duplicate?
thanks for the contribution but this needs some more investigation. If preload=none even loadedmetadata would not fire.
I'll have to dig in when onReady is called in all players.
Bug Fix
There is a problem where the
onReady
function inreact-player
isn't being called on IOS whenautoPlay
isfalse
. This is because IOS stops loading past metadata when autoplay is off (readyState
remains at 1).Also get rid of line 83 which seems like a duplicate?
Stackoverflow GitHub Livepeer PR