Andrea Mantegazza
Andrea Mantegazza

Reputation: 63

How to play html video when iOS low power mode is active?

I have a html video placed in background with z-index:0 When apple device has low power mode active, it doesn't autoplay video and shows play button, that user can't click because in background.

Is it possible to fix this?

<video id="bg-video" preload="preload" playsinline loop muted autoplay>
    <source src="myvideo.mp4" type="video/mp4">
</video>

Upvotes: 4

Views: 5635

Answers (1)

user149341
user149341

Reputation:

Is it possible to fix this?

Playing a video, especially in the background of a web page, is a relatively power-hungry operation. Low-power mode is functioning correctly by preventing this video from playing.

While there may be some methods which allow this video to autoplay right now, these are bugs and are likely to be patched in the future.

Upvotes: 1

Related Questions