i need to play the video through the application in iphone any one is having the sample code or any tutorial for this. i got the same question in the stackoverflow but i didnt get the answer from that question. Here’s iPhone playing video in custom view: Example Code Please? any one having the answer for the question.
for this any api is followed tat api will approved by the app store.
You can refer:
http://mobile.tutsplus.com/tutorials/iphone/mediaplayer-framework_mpmovieplayercontroller_ios4/
http://www.edumobile.org/iphone/iphone-programming-tutorials/how-to-play-video-in-iphoneos4/
For more details about the class you can refer iOS developer library document MPMoviePlayerController Class Reference