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


I’ve been struggling with this issue for the past couple of days. My Android 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:

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.

in my game I do same operation too. play video from obb file.
you need extract video file from obb file to Android/data/[bundleid] directory and play video from there
i play video with my created video player plugin *.jar, in plugin I creat “VideoView” Activity and play my video

This thread is old, but I’m still having the same problem…

I can’t access my movie files in StreamingAssets on Android, when I use Unity’s ‘Split Application Binary’ option.

Any ideas on that?

(See also this thread here: http://forum.unity3d.com/threads/207399-Android-metaio-Split-Application-Binary-(-OBB))