Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Native app video

Does anyone know how to initialize the native video player for IOS. Currently I'm working on a phonegap application that needs this kind of integration. Whenever I link to a vimeo video it just pulls up safari. I need it to open up the native ios video player. Thoughts?

like image 689
nate8684 Avatar asked Nov 21 '25 12:11

nate8684


1 Answers

Use MPMoviePlayerViewController along with an NSURL. That NSURL is init with an NSString that contains the URL string.

like image 189
KarenAnne Avatar answered Nov 24 '25 02:11

KarenAnne