Skip to content

Commit af8a383

Browse files
committed
first commit
1 parent 63d06d9 commit af8a383

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#VideoPlayer plugin for Android Cordova 3.0
2+
3+
The video player allows you to display videos from your Android Cordova application. Based in https://github.com/macdonst/VideoPlayer for phonegap < 2.2 version.
4+
5+
This command fires an Intent to have your devices video player show the video.
6+
7+
#Adding the Plugin to your project
8+
9+
cordova plugin add https://github.com/raulduran/VideoPlayer.git
10+
11+
#Removing the Plugin to your project
12+
13+
cordova plugin rm com.phonegap.plugins.videoplayer
14+
15+
#Using the plugin
16+
17+
cordova.plugins.videoPlayer.play("http://path.to.my/video.mp4");
18+
cordova.plugins.videoPlayer.play("file:///path/to/my/video.mp4");
19+
cordova.plugins.videoPlayer.play("file:///android_asset/www/path/to/my/video.mp4");
20+
cordova.plugins.videoPlayer.play("https://www.youtube.com/watch?v=en_sVVjWFKk");

0 commit comments

Comments
 (0)