When I played a short video repeatedly, video playback suddenly stopped and a black screen was displayed.

This symptom is a known issue of WebAppRuntime.

If you play a short video (e.g. shorter than 15 secs) repeatedly, sometimes the callback function doesn’t work correctly and can cause playback to stop and a black screen to appear.

Please rely on either of the following workarounds.

  • Combine multiple playbacks and create a longer video (longer than 30 secs is suitable)
  • Disable the HW decoder and use ExoPlayer by setting “hardware_av_sync”: “false” in manifest.json (this workaround is available from Android 8.0 software)
"video": {
    "hardware_av_sync": false