opens a videoView in android and plays any android supported video
phonegap create videoview
cd videoview
phonegap plugin add https://github.com/mikeRead/videoview.git
Read "Important!" below VVV
In most cases,after installing this plugin, you will need to edit line 24 of platforms/android/src/org/ihopkc/videoplayer/play.java ( https://github.com/mikeRead/videoview/blob/master/src/android/play.java )
Find (on line 24)
import com.phonegap.helloworld.R;
and replace with your own project name space
for example, if you ran
phonegap create name com.example.project_name_space "CordovaProjectName"
you will need to replace (on line 24)
import com.phonegap.helloworld.R;
with
import com.example.project_names_space.R;
then you can run
phonegap build android
successfully
To open the video in android's video view run this javascript function
window.play('http://link/to/android/supported/video.mp4');