x


iPhone video playback in 3.0 beta5 working?

I just downloaded the 3.0 beta5 but it appears I'm doing something wrong when playing a video back on the iPhone. Has anyone gotten this feature to work yet?

Also, I am set up correctly? 1) I have my StandardAssets folder, then the StreamingAssets folder with the video inside of it. 2) I'm using the below line to call the movie to play in a Start function and again later after the level is completed: iPhoneUtils.PlayMovie("test.mov", Color.black, iPhoneMovieControlMode.CancelOnTouch); 3) The video is actually named test.mov

All I get for playback is a black iPhone movie screen that blinks very quickly.

Link to release notes for reference

more ▼

asked Aug 10 '10 at 01:05 AM

AetherRepublic gravatar image

AetherRepublic
16 1 1 1

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

For those transitioning from iphone 1.7, the streaming assets directory's name was changed from: iPhoneStreamingAssets to StreamingAssets and moved into the Assets Directory. So if upgrading from iPhone1.7 to Unity3 you'll need to both rename the directory and move it into the assets directory.

Unfortunately the Video play commands do not generate errors messages, so this can be very painful to debug.

The only mention of this change I could find is in the release notes linked in the question above. I haven't been able to find a page that lists the specific changes iphone developers need to make to upgrade to Unity 3

more ▼

answered Oct 26 '10 at 05:34 AM

Gabriel 1 gravatar image

Gabriel 1
87 2

(comments are locked)
10|3000 characters needed characters left

Hi, I had the same issue you should put the StreamingAssets INSIDE the Assets folder and that should work :)

more ▼

answered Oct 07 '10 at 12:07 AM

jon 1 gravatar image

jon 1
1 2

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1999
x281
x31
x2

asked: Aug 10 '10 at 01:05 AM

Seen: 1354 times

Last Updated: Aug 10 '10 at 01:05 AM