Skip to content

Instantly share code, notes, and snippets.

@rjlutz
Last active January 30, 2018 22:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjlutz/5835a506116286062a45d7b34ea764f9 to your computer and use it in GitHub Desktop.
Save rjlutz/5835a506116286062a45d7b34ea764f9 to your computer and use it in GitHub Desktop.
Steps to import Wargo's 14.1 Media Player Example
download or clone https://github.com/johnwargo/apache-cordova-api-cookbook-code
cordova create ...
cordova platform add android
graft content from
~/Downloads/apache-cordova-api-cookbook-code-master/chapter14-media/Ex14.1 (your downloads, of course)
cordova plugin add cordova-plugin-media
cordova plugin add cordova-plugin-device
cordova plugin add cordova-plugin-dialogs
cordova plugin add cordova-plugin-file
$cordova plugin ls
cordova-plugin-device 1.1.6 "Device"
cordova-plugin-dialogs 1.3.3 "Notification"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-media 2.4.1 "Media"
cordova-plugin-whitelist 1.3.2 "Whitelist"
cordova run android
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment