In my viewWillAppear:(bool)animated
method I want to stop video playing. How can I do this? I am new I don't know much.
I am playing a video on this screen. I have a tab which shows table view. When I click on the tab the table view is shown but video is playing in background: we can hear the music.
views:
11answers:
1
A:
If you are using MPMoviePlayerController, call -pause
on that object.
Peter DeWeese
2010-09-28 14:18:37
thanks for your answer i am using [indexViewCont.videoPlayer Pause];
2010-09-29 06:06:35
[indexViewCont.videoPlayer stop];
2010-09-29 06:07:00
[indexViewCont.videoPlayer autorelease]; also but it does not stops we can hear the music in background.
2010-09-29 06:08:00