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

.OBB's, StreamingAssets, and Handheld.PlayFullScreenMovie, what are my options?

Discussion in 'Android' started by oddgoo, Feb 9, 2013.

  1. oddgoo

    oddgoo

    Joined:
    Nov 22, 2011
    Posts:
    12
    Greetings,

    I've been struggling with this issue for the past couple of days. My app is less than 50mb without the videos, so I used the jobb tool to package an extra 450mbs of videos to be uploaded as an expansion pack.

    I am using the asset store's Google Play Downloader plugin, and I am attempting something like this:

    Code (csharp):
    1. Handheld.PlayFullScreenMovie("jar:file://"+GooglePlayDownloader.GetMainOBBPath(expPath)+"!/"+videoName, Color.black, FullScreenMovieControlMode.CancelOnInput);
    As it is specified in the DOCS that I can throw in a url as the path instead of the default StreamingAsset.

    Is this function not able to read into the OBB like WWW or LoadFromCacheOrDownload can?

    Would I need to use WWW to get the contents on the OBB and copy the videos out into a readable path, duplicating the app's data from 450 to 900 mbs?

    Is there any other option that I am not aware of?

    as a note, Assetbundles do not support movie files in Mobiles yet. I am using Unity 3.5.7.

    Thanks in advance for your attention. :cry: