But everywhere I found editing code in the .m and .h files. No one has explained how to use it.
This is because you can directly use MPMoviePlayerController from within your own applications (written in Objective-C). For any other technology, you will have to have an intermediate layer between them.
From googling, I found this PhoneGap plugin that claims to integrate with MPMoviePlayerController. I don’t know if this is good, but it can serve as a starting point.
source share