-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HLS streaming doesn't work on Safari / iOS #713
Comments
HLS is supported natively in iOS and Safari, you should not need HLS plugin at all I think. BTW, Chrome and Firefox (and other browsers) in iOS are using the Safari Webkit, so if you solve your problem in one browser, it would be fixed in all of them. |
Sure, the thing is I want my code agnostic from the browser. If videogular2 hls does not work in iOS, then I must check it at every load and use videogular2 for some users and native for others. Maybe videogular2 can do this check natively and be completely agnostic. For example, I have my stream navigation implemented in videogular2. This thing forces me to do another stream navigation system for iOS, so I can't use videogular2 in all systems. |
Makes sense! I thought HLS did that for me. Ok, I'll take a look to it and try to work on a fix. |
Gracias Raúl! ;) I'll keeping an eye to this thread. |
I've tested with my iPad on iOS 10 and it works as expected on the demo website: I can change between VOD and HLS without any problem. Maybe is a problem with your HLS source file, can you try this one?
|
@Elecash while I can confirm that the HLS stream on the linked showroom page plays on iPhone 7 (iOS 11.3), I'm having trouble finding the source of the showroom to confirm whether that showroom page is also using VgControls. My experience has been that videogular2 will successfully play HLS videos on iOS so long as you use the default controls. It is the VgPlayPause control that does not work on iOS, likely due to it attempting to always use MSE rather than falling back to native. |
@wdspider I can confirm that it also works with Videogular controls in iOS with HLS and VOD. |
Yep, something somewhere has changed since I had to code into my project the work-around of showing the default controls (instead of the custom ones) when on Safari. Both the default and the custom controls do seem to work now. |
I have the same issue. Do you have any solution here? @supermafete |
Not really. Finally I decided to develop the app natively. Sorry I can’t help you, but I’m still thinking this is a videogular2 issue.
… El 26 ene 2019, a las 15:02, Sampath Lokuge ***@***.***> escribió:
I have the same issue. Do you have any solution here? @supermafete
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@supermafete Thanks. I use these versions:
.html
|
@Sampath-Lokuge are you getting troubles when trying to play streams with restricted CORS? |
@supermafete No. I have used |
Hi there,
I'm developing a live streaming PWA using angular and videogular2. Everything works fine, desktop web browsers, android browsers, etc... except in iOS 11. The console shows this error.
We see a 404 (not found) error loading hls.min.js.map. I think this is because hls.js is a Media Source Extension, and that MSE's are not supported by iOS. BTW, it doesn't work on chrome nor firefox neither, although the important browser for PWAs is Safari.
So, how can I implement HLS with videogular2 in iOS devices without doing browser version checks?
Thanks.
The text was updated successfully, but these errors were encountered: