In the WebGL platform, the video frequently stops or fast forwards on iOS devices

Unity Version: Unity-2022-3-LTS.20f1
Test Environment #iOS: iPhone 14, iPad Pro 11 (2nd generation)

I created a simple scene in the WebGL platform that plays videos from the Video Player. The video from Streaming Assets is specified by URL, and the footage is played back.

On Android devices and PCs, the video can be played smoothly. However, on #iOS devices, the video often fast forwards or frequently stops, making smooth playback impossible. However, the video can be played smoothly when the site is viewed in PC mode.

Does anyone know what’s going on?

The problematic site can be checked here. You can play the video from a UI button labeled Play/Pause.

https://d6gfh045btsy.cloudfront.net/

1 Like

Hi!

This is a known bug: Unity Issue Tracker - [WebGL] Video playback becomes erratic in web browsers upon losing and regaining browser focus
The issue was fixed in the following Unity versions:

  • 2022.3.25f1
  • 2023.2.20f1
  • 2023.3.0b8
  • 6000.0.0b14

So updating your Unity version should fix this for you.

Thank you for your reply!
I upgraded the Unity version to #Unity-2022-3-LTS.36f1, rebuilt the project, and tested it again.
As a result, the issue did not occur in Safari, but in Chrome, frame drops and rewinds during video playback still seem to occur.
Do you have any insights about this?

Here is a new issue in the issue tracker based on my bug report.

I reported it for Chrome on iOS, but apparently they also reproduced it on Firefox.