Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2020.3.X, 2021.1.X

Fix In Review for 2019.4.X

Votes

41

Found in

2019.4

2019.4.13f1

2021.1

Issue ID

1288692

Regression

No

[WebGL] [iOS] Video is not playing

WebGL

-

Reproduction steps:
1. Open project in "VideoTest_03_29_2021.zip"
2. Open "WebGLSafariTestScene.unity"
3. Build for WebGL
4. Host the build on an HTTP server (node http-server supports video streaming for on iOS)
5. Open the HTTP link on your iOS device
6. Press the "Play" button

Expected result: a video starts playing
Actual result: the video does not start playing

Reproducible with: 2019.4.23f1
Could not test with:
2018.4.30f1 (precompiled assembly exception when building)
2020.1.17f1, 2020.2.0b14, because "build.loader.js:1 Uncaught ReferenceError: unityFramework is not defined at HTMLScriptElement.n.onload (build.loader.js:1)" is thrown
2021.1.0a8 because "wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type" is thrown

Devices tested:
Reproducible with:
VLNQA00310 iPad Pro 12.9 1st gen (iOS 13.4.1) (Chrome, Safari)
HELA0166 iPad 6th gen (iOS 14.2) (Safari)
Not reproducible with:
VLNQA00335, Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
OnePlus A5000, Android 10, Adreno 540, Snapdragon 835 (Chrome)
Couldn't test with:
VLNQA00204 iPhone 5C (iOS 10.3.3) (browser does not support Web Assembly)

Not reproducible with Mac & Windows (Safari, Chrome, Firefox tested)

Notes:
1. I was not able to check the developer console (iOS Chrome does not have dev tools available)
2. It might be that the video link will be expired, in that case just find any mp4 file online and put the link to it in "Video" GameObject in "VideoPlayerExtension" component

  1. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0b4.3123

  2. Response avatar

    Resolution Note (fix version 2020.3):

    Fixed in 2020.3.16f1.804

Comments (5)

  1. 46c4f5fb570494678338bd614d8f1836?d=mm

    adilaghayev

    Sep 14, 2021 11:46

    This isn't fixed in iOS browsers in 2020.3.X

    Issue still persists.

  2. 4bbfc50ccde758ad380f37cff778ffb4?d=mm

    aqeh

    Jul 30, 2021 05:51

    is this fixed in 2020.3.14f1 LTS version?

  3. 6c7383d3508c1dc16abd4c916ec6e020?d=mm

    Marks4

    Apr 02, 2021 16:45

  4. 6c7383d3508c1dc16abd4c916ec6e020?d=mm

    Marks4

    Mar 13, 2021 03:24

    Please fix this already ;_;

  5. 7a3be202e4bad07afd07ff7b43b7833e?d=mm

    rcazzy

    Jan 30, 2021 02:29

    This issue completely removes the use of video and need to be replaced as it is one of the few lightweight ways to share media via aUnity WebGL app on larger scales

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.