Skip to content
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

Under some specific devices, the HLS m3u8 video cannot be played after the pre-roll ads. #1137

Open
Jerome-lara opened this issue Mar 14, 2024 · 1 comment

Comments

@Jerome-lara
Copy link

Jerome-lara commented Mar 14, 2024

I searched the problem records and found many people with the same problem as me, but none of them were solved.
For example, after replacing the mp4 video in the official demo with m3u8, and change user agent to iphone, the problem can be reproduced.

https://codepen.io/imasdk/pen/wpyQXP

m3u8 video: <source src="https://customer-pp9pw84f78fe5x2r.cloudflarestream.com/bee4361401e57a115541e9aa7b3e7c24/manifest/video.m3u8" type="application/x-mpegURL" />

QQ20240314-183028@2x
@davlasq
Copy link

davlasq commented May 22, 2024

If HLS stops working after you set iPhone user agent in your desktop browser it is because iPhone can play HLS natively while other devices/browsers use HLS.js for that so when you set your user agent to iPhone Video.js tries to play video natively and it doesn't work because this feature isn't supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants