- Home /
handheld.playfullscreen
i dont get it why doesnt it play i have no background, with this and currently exploring this on my own, can you guys help me. thanks.
using UnityEngine; using System.Collections;
public class Creationmovie : MonoBehaviour { private string movPath = "Creation.mp4"; // Use this for initialization void Start () { StartCoroutine(PlayStreamingVideo(movPath)); }
private IEnumerator PlayStreamingVideo(string url)
{
Handheld.PlayFullScreenMovie(url, Color.black, FullScreenMovieControlMode.Full, FullScreenMovieScalingMode.AspectFill);
yield return new WaitForEndOfFrame();
yield return new WaitForEndOfFrame();
Debug.Log("Video playback completed.");
}
}
If you can help me build a working script it would be a huge help. thanks .
Your answer
Follow this Question
Related Questions
Play video to chromecast 1 Answer
How to check if Handheld.PlayFullScreenMovie has stopped playing 2 Answers
Video playback in Android doesn't change orientation 0 Answers
FullScreenMovieScalingMode.AspectFit not working on iOS and Android 0 Answers
Handheld.PlayFullScreenMovie() works on Android but not iOS? 2 Answers