I want to play a video using MPMoviePlayerController but I want it to ignore the mute switch, similar to the behavior of Youtube\'s video player.
MPMoviePlayerController
Any ideas?
in Swift: Do this once before you play sound/video (for example at the beginning of your application)
do{ try AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayback) } catch { //Didn't work }