mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix for video playback error cleanup
Also added a little logging - trying to determine why certain videos just won't work in IE
This commit is contained in:
parent
451686bb82
commit
a2336fb26c
1 changed files with 4 additions and 2 deletions
|
@ -993,12 +993,14 @@
|
|||
self.setCurrentTime(self.getCurrentTicks(this), item, true);
|
||||
}
|
||||
|
||||
}).on("error", function () {
|
||||
}).on("error", function (e) {
|
||||
|
||||
$("html").css("cursor", "default");
|
||||
$(".ui-loader").hide();
|
||||
self.resetEnhancements();
|
||||
|
||||
var errorCode = this.error ? this.error.code : '';
|
||||
console.log('Html5 Video error code: ' + errorCode, this.error);
|
||||
console.log('Html5 Video error code: ' + errorCode, JSON.stringify(e));
|
||||
|
||||
var errorMsg = 'There was an error playing the video.';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue