Skip to content

raulduran/VideoPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#VideoPlayer plugin for Android Cordova 3.0

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.

This command fires an Intent to have your devices video player show the video.

#Adding the Plugin to your project

cordova plugin add https://github.com/raulduran/VideoPlayer.git

#Removing the Plugin to your project

cordova plugin rm com.phonegap.plugins.videoplayer

#Using the plugin

cordova.plugins.videoPlayer.play("http://path.to.my/video.mp4"); cordova.plugins.videoPlayer.play("file:///path/to/my/video.mp4"); cordova.plugins.videoPlayer.play("file:///android_asset/www/path/to/my/video.mp4"); cordova.plugins.videoPlayer.play("https://www.youtube.com/watch?v=en_sVVjWFKk");

About

Plugin VideoPlayer for Cordova 3.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published