I am using a Phonegap plugin for playing a video in my iOS app. I\'m able to play a video with the URL format like http://easyhtml5video.com/images/happyfit2.mp4
But everywhere I found the code to be edited in .m and .h files. None have explained how to use it.
That's because you can only directly use MPMoviePlayerController from native apps (written in Objective-C). For any other technology you'll have to have an intermediary layer in between.
From googling, I found this plugin for PhoneGap that claims to integrate with MPMoviePlayerController. I've no idea if it's any good, but it might do as a starting point.