Vimeo HLS Stream not playing in native mode, but playing in normal video tag
Current Behavior:
Vimeo HLS Stream not playing when using preferNativeHLS in Safari 18 on MacOs.
Expected Behavior:
Stream plays, as it does when using a video tag with src.
Steps To Reproduce:
- set preferNativeHLS to true
- Use a vimeo hls stream: https://player.vimeo.com/external/1016458166.m3u8?s=45a871d7b538a7b38851701a62bbdeca99813e4e&logging=false
- stream doesn't play in Safari 18 on MacOs
Reproduction Link: Vidstack Demo Link
We get mp4 urls directly from vimeo's api and then they redirect to their CDN. This works normally but it's not working on safari 18. I clicked the reproduction link posted above and appears to be the same issue. something about the redirect Failed to load resource: The network connection was lost. But pasting the URLs directly into safari works and the video plays in the browser
@Benny739 removing crossOrigin or setting crossOrigin=false fixes your example. It works for my issue too. Hopefully it doesn't cause issues in other browsers though
This is actually super weird, no? I also have it happening with another library (just setting a crossOrigin prop on a <video> tag). Could it be a Safari 18 bug?
Running into a similar issue. Anyone have confirmation if this is a Safari 18 bug?
@Benny739 removing
crossOriginor settingcrossOrigin=falsefixes your example. It works for my issue too. Hopefully it doesn't cause issues in other browsers though
Removing crossorigin fixed this for me on Safari 18.3.1 thanks!
Safari seemingly has a couple of crossorigin problems from 17+ that Apple hasn't acknowledged.