- Home /
Android - Play movie with Handheld skips it
Hello,
When my builded game starts from my htc m7, it should play a movie, but all I see is one frame of it for a short moment and then the actual scene is loaded.
Movie is in Streaming assets folder
Here my simple script that loads a scene after the movie:
var moviePath : String;
var loadSceneOnFinish : String;
function Start () {
if(Application.platform == RuntimePlatform.Android){
Handheld.PlayFullScreenMovie(moviePath, Color.black, FullScreenMovieControlMode.CancelOnInput);
Application.LoadLevel(loadSceneOnFinish);
}
}
I have tested the game also on a Samsung Galaxy SII - works fine.
So I guess it is device dependant - Is there an universal solution to run movies on any android devices?
Thanks
Your answer
Follow this Question
Related Questions
Android can't AutoOrientation when do Handheld.PlayFullScreenMovie 0 Answers
How to check if Handheld.PlayFullScreenMovie has stopped playing 2 Answers
PlayFullScreenMovie doesn't work with Android Expansion APK? 0 Answers
Android Handheld.PlayfullscreenMovie not working from Cloud Build 1 Answer
Handheld.PlayFullScreenMovie not working on Android since unity upgrade? 1 Answer