Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Unity VideoPlayer in WebGL doesn't work in iPhone but in all other platforms (Android, Editor, etc)

Discussion in 'Web' started by noobengineer, Dec 21, 2020.

  1. noobengineer

    noobengineer

    Joined:
    Jul 11, 2020
    Posts:
    1
    Hey everyone,

    I'm working on a WebGL Unity (2019.4.12f1) project that involves playing videos using the Unity VideoPlayer.

    I got the videos to play in an Android WebGL build but the Safari in iPhone doesn't play the video.

    I'm using the URL as the source of VideoPlayer.

    Is there a workaround for this issue? is it a permission issue in iOS?
    Any help would be much appreciated.

    Right now, I'm contemplating the idea of hosting the videos in a video platform and redirect the video playback to that website.

    Thanks in advance!

    Edit: I just realized Unity doesn't support WebGL for mobiles. Does anyone know a workaround for this issue?
     
    Last edited: Dec 21, 2020