admin管理员组

文章数量:1129156

I have an angular/capacitor app with a screensaver video and on ios sometimes when this video should play it's a black screen, but I can hear the sound of the video.

I have seen many older threads about it and they recommended using playsinline which I do and to try turning on/off something in the safari settings, but that setting got removed since ios 16/17 and this bug still occurs.

I can reproduce this bug if I execute video.play() while the app is in the background, but I cannot when the app is in focus. And there are no console errors so I can't catch it to force refresh the page.

本文标签: safariIOS web app html video black screen but sound is playing on iOS 18Stack Overflow