- Home /
Problem with video in IOS
Hi
I'm using Unity 3 PRO with iPhone advanced.
I'm triying to reproduce a video with this script, which is attached to my MainCamera:
using UnityEngine; using System.Collections;
public class presentationmanager : MonoBehaviour {
// Use this for initialization void Start () { iPhoneUtils.PlayMovie("splash.mov", Color.black, iPhoneMovieControlMode.CancelOnTouch); //Application.LoadLevel(1); }
public void Awake() {
}
// Update is called once per frame void Update () {
} }
And my splash.mov file is located inside an folder named StreamingAssets which is inside my Asets folder.
I tested it with Unity remote, directly in my device...and nothing.
I can't find what's wrong.
Thanks in advance.
I also get this problem on my iPad/iPad2, but it's normal in my iTouch, very weird.
Answer by Ultratroll · Jan 06, 2011 at 08:20 PM
I just used an .M4V video file instead and worked.
Not sure what happened tough.
Very weird.
Your answer
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Play streaming video. Unity for Iphone 1 Answer
Handheld.PlayFullScreenMovie displaying movie offscreen 1 Answer
How to implement an ammo counter using textured quads? [Scripting doubts] 2 Answers
Swapping 2 objects positions when one is dragged into the other 1 Answer