update audio player

This commit is contained in:
Luke Pulverenti 2016-01-20 13:11:15 -05:00
parent 0f009e1814
commit 47d258bb85

View File

@ -2013,7 +2013,11 @@ var AppInfo = {};
} }
if (Dashboard.isRunningInCordova() && browserInfo.android) { if (Dashboard.isRunningInCordova() && browserInfo.android) {
if (MainActivity.getChromeVersion() >= 48) {
define("audiorenderer", ["scripts/htmlmediarenderer"]); define("audiorenderer", ["scripts/htmlmediarenderer"]);
} else {
define("audiorenderer", ["cordova/android/vlcplayer"]);
}
define("videorenderer", ["cordova/android/vlcplayer"]); define("videorenderer", ["cordova/android/vlcplayer"]);
} }
else if (Dashboard.isRunningInCordova() && browserInfo.safari) { else if (Dashboard.isRunningInCordova() && browserInfo.safari) {