Hi,
Im having a problem using MovieTexture for IOS project build. Do you have any alternative solution for running a movie [game intro] on iOS platform? A working sample
would be helpful. :)
Thanks in advance,
Fairs
Hi,
Im having a problem using MovieTexture for IOS project build. Do you have any alternative solution for running a movie [game intro] on iOS platform? A working sample
would be helpful. :)
Thanks in advance,
Fairs
There is no movietexture support on iOS at all.
You will need to use iPhoneUtils.PlayMovie and provide the movie in a supported format.
Hi Faris,
As Dreamora says, you have to use iPhoneUtils.PlayMovie - this will not work in the editor when you run your ‘app’, you will only be able to see video on the device, so use build and run to test the video.
Also it will be full frame, it cannot be less than full frame using it out of the box in iOS Unity, but you can have all the controls and fade it up from a color (check the options on that iPhoneUtils code.
We have found that using h264 as indicated in the docs works really well, even on low end devices.
Hope this helps.
We’ve got a job incoming soon and need to be able to do a dragon’s lair sort of thing - where controls will allow the user to pick the next movie to play. Any tips? Will movietexture support be coming in the future?
@hippo, you don’t need movie texture for that. Just use the standard MPMoviePlayerController with button overlays that hide/show. You can either use multiple smaller movies and load them on the fly or one movie and just jump to different locations in it.
Thanks prime - MPMoviePlayerController is available from your plugin, right?
@hippo, the EtceteraTwo Plugin does have a movie player but you will need to do a bit of modification for the case of making a Dragon’s Lair-like experience.
Can we add custom buttons (like UIButton in XCode) on this movie that control move like pause/play etc?
@chishti, you can modify the source to add buttons if you would like.
ok thanks @prime
I will edit the objective c files that we give in Editor right?