I'm using this code to play an intro movie:
The mute button on the side of the iphone (3G) is not muting the sound in the video. I'm building for the 3.0 OS target. It seems there's a 'ringer volume' and a separate volume for the iPod music.
Please let me know if you know any way to fix this.
If it's not possible directly from Unity, does anyone have a quick code sample to place in an Xcode .mm file, to use MPMoviePlayerController and call it from Unity Advanced, to play the movie file (and work with the mute button on/off) ?
Thanks a lot!
asked Jan 25 '10 at 09:41 AM
Unity iPhone plays movies via Apple MediaPlayer framework (MPMoviePlayerController). Current implementation of MediaPlayer does not respect "mute" button.
answered Jan 26 '10 at 04:32 PM
This is not a problem specific to Unity iPhone. Try the YouTube app. Same behavior. Apple wants you to do it in software.
answered Jan 26 '10 at 11:56 PM