1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update dlna profile list

This commit is contained in:
Luke Pulverenti 2016-02-08 00:59:33 -05:00
parent 4ed0a8d919
commit ac9ab5502a
6 changed files with 97 additions and 193 deletions

View file

@ -10,23 +10,7 @@
var mediaElement;
var self = this;
function hideStatusBar() {
if (options.type == 'video' && window.StatusBar) {
//StatusBar.backgroundColorByName("black");
//StatusBar.overlaysWebView(true);
StatusBar.hide();
}
}
function showStatusBar() {
if (options.type == 'video' && window.StatusBar) {
StatusBar.show();
//StatusBar.overlaysWebView(false);
}
}
function onEnded() {
showStatusBar();
Events.trigger(self, 'ended');
}
@ -87,7 +71,6 @@
var errorCode = elem.error ? elem.error.code : '';
console.log('Media element error code: ' + errorCode);
showStatusBar();
Events.trigger(self, 'error');
}
@ -130,8 +113,6 @@
function onOneVideoPlaying(e) {
hideStatusBar();
var element = e.target;
element.removeEventListener('playing', onOneVideoPlaying);
@ -507,8 +488,6 @@
$(elem).remove();
}
}
showStatusBar();
};
self.supportsTextTracks = function () {