Why is playback blocked in battery saver mode?
Problem: Mobile devices may operate in battery saver mode and thus restrict behavior related to playing audio and video. For example, the browser may refuse to auto play a video in low battery mode.
Solution: In order to facilitate media playback when battery saver is in effect, you may need the user to manually trigger play()
on the <video>
element to unlock it. This may not be achieved by displaying a button but require direct interaction with the <video>
element on the screen. Please review the example code for integrating a renderer in View a Channel and Channel Viewer Example, which show the relevant events so your application can show user controls to start playback and/or unmute the playing video. In particular, failedToPlay
with reason failed-to-play
or reason paused-by-background
.
Keywords: Mobile, Browsers, iOS, WebView, WebSDK