Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X
Votes
41
Found in
2019.4
2019.4.13f1
2021.1
Issue ID
1288692
Regression
No
[WebGL] [iOS] Video is not playing
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
-
Marks4
Nov 26, 2023 17:48
I made the following asset to deal with the issue
h t t p s://prf.hn/click/camref:1101lTyGI/destination:https://assetstore.unity.com/packages/tools/video/video-player-webgl-192420 -
Ikaro88
Jan 21, 2023 10:10
NOT SOLVED AT ALL WITH LAST VERSION OF UNITY
-
adilaghayev
Sep 14, 2021 11:46
This isn't fixed in iOS browsers in 2020.3.X
Issue still persists.
-
aqeh
Jul 30, 2021 05:51
is this fixed in 2020.3.14f1 LTS version?
-
Marks4
Apr 02, 2021 16:45
I made an asset to deal with this: https://assetstore.unity.com/packages/tools/video/videoplayerwebgl-192420
-
Marks4
Mar 13, 2021 03:24
Please fix this already ;_;
-
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
- "Unable to get the list of approved APIs." is thrown when testing the App Packages with Windows App Certification Kit
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0b4.3123
Resolution Note (fix version 2020.3):
Fixed in 2020.3.16f1.804