How to adjust MpMoviePlayerController volume in Iphone sdk?

I need help on your side. I am using MPMoviePlayerController and I need to turn off the volume of movieplayer forever. Is there any property for this. Can you send some code regarding this.

Any help would be greatly appreciated.

Thanks, Srilakshmi.

+5
source share
1 answer

[[MPMusicPlayerController applicationMusicPlayer] setVolume:(use a value between 0.0 and 1.0)]

If your MPMoviePlayerControlleruses an audio application session, this should work.

+6
source

All Articles