videojs-ima icon indicating copy to clipboard operation
videojs-ima copied to clipboard

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

Open Jerome-lara opened this issue 11 months ago • 1 comments

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

Jerome-lara avatar Mar 14 '24 10:03 Jerome-lara

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.

davlasq avatar May 22 '24 06:05 davlasq