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

Cross Platform Video Playing from URL.

Discussion in 'Editor & General Support' started by ev3d, Feb 11, 2016.

  1. ev3d

    ev3d

    Joined:
    Apr 19, 2013
    Posts:
    327
    Does such thing exist? I made standalone player using MovieTexture and it works on mac/windows players..

    Trying to make or find one for iOS, android... I tried using

    Code (CSharp):
    1. Handheld.PlayFullScreenMovie(URL);
    But it does not seem to work. Screen goes black for about 5 seconds then the game is shown again. It never plays anything.. I am using ogg format video for mac/OSX and mp4 for android/iOS. The URL for the mobile version is
    https://ev3.blob.core.windows.net/uploads/Videos/30SecCore.mp4

    Any Help would be great..
     
  2. ev3d

    ev3d

    Joined:
    Apr 19, 2013
    Posts:
    327
    Found the solution... seems the mp4 needs to be encoded correctly.. Fast start or "flat and hint" in some apps.. basically, the mp4 needs to be set up for streaming