Search Unity

Loading Video Clips as AssetBundles

Discussion in 'Web' started by dwilson_visiblebody, Apr 23, 2019.

  1. dwilson_visiblebody

    dwilson_visiblebody

    Joined:
    Oct 21, 2016
    Posts:
    4
    Hello,
    I am having trouble getting Video Clips to work with Unity's Video Player component in WebGL. I have my Video Clips bundled into AssetBundles and hosted on the web. I am able to successfully download the AssetBundle, unpack it, and get the Video Clip from it. However, when I set the Video Player's clip to the video clip from the AssetBundle and then prepare the video player, nothing happens.

    I have my Video Clips transcoded for the web and set to use H264 Codec as I have seen it suggested in other posts. Not sure why the video player does not want to prepare

    Has anybody seen this before or have had troubles getting this to work? I am using Unity 2018.3.12f1. Thanks in advance for the help!