vulcanize

This commit is contained in:
Luke Pulverenti 2015-06-20 00:48:45 -04:00
parent 07df993238
commit 55e40bdcf7
52 changed files with 12309 additions and 33 deletions

23
dashboard-ui/cordova/externalplayer.js vendored Normal file
View file

@ -0,0 +1,23 @@
(function () {
function showPlayerSelectionMenu(item, url, mimeType) {
window.plugins.launcher.launch({
uri: url,
dataType: mimeType
}, function () {
console.log('plugin launch success');
ExternalPlayer.onPlaybackStart();
}, function () {
console.log('plugin launch error');
ExternalPlayer.onPlaybackStart();
});
}
window.ExternalPlayer.showPlayerSelectionMenu = showPlayerSelectionMenu;
})();