Closed elmcapp closed 1 year ago
Same with HLS urls (on safari macOS 14.1 (MacBook Pro / Mac mini) Playback works well on iOS devices & chrome (mobile & desktop)
(also pure <video>
tag working well)
I believe it's safari itself and not React player as I have been battling with this issue the entire week.
I'm not an expert but my finding so far is that:
Safari won't play WebM (VP9 codec) but it will play .mov (HEVC h265 codec) as type QuickTime.
Safari might play mp4 files but depends on codec as well and not necessarily with audio.
If you need transparency, i.e., alpha channel videos, it has to be freshly exported as the previously mentioned HEVC h265 codec .mov file. If you compress/convert it there's a good chance it won't have alpha channel enabled afterward.
Facing same issue on Safari 16
indeed this is the reason the url accepts an array. so you can define different formats to support all browsers. Safari doesn't support webm, try mov or mp4.
or move to video streaming like HLS or DASH which offers more benefits. see https://howvideo.works
I have React Application .webm videos will not play on Safari Browser. Other formats work just not .webm All it show is a play button with line in the middle.