HomeiOS Developmentjavascript - The React video part would not play movies on iOS...

javascript – The React video part would not play movies on iOS variations sooner than 17


I’m experiencing uncommon habits with a React video part. Firstly, I wish to point out that it really works nice on desktop (Home windows, Linux, Mac) and cellular (Android, iOS v17). Nevertheless, for iOS variations previous to 17, my video elements doesn’t wish to play if muted is about to false.

Perhaps somebody is aware of what may very well be inflicting this problem?

Here is the part code: <video src={videoUrl} preload={"sure"} muted={mute} autoPlay width="100%" playsInline top="100%" type={{place: "absolute",high: 0,left: 0,backside: 0,proper: 0,opacity: videoReady ? 1 : 0,zIndex: videoReady ? 30 : 10,}} onLoadedData={() => toggleVideoState(true)} onEnded={() => toggleVideoState(false)} />

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments