mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Removed more warnings
This commit is contained in:
parent
e7f8036865
commit
606f1fc94c
1 changed files with 1 additions and 21 deletions
|
@ -116,7 +116,7 @@ function tryRemoveElement(elem) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function zoomIn(elem) {
|
function zoomIn(elem) {
|
||||||
return new Promise(function (resolve, reject) {
|
return new Promise(resolve => {
|
||||||
const duration = 240;
|
const duration = 240;
|
||||||
elem.style.animation = `htmlvideoplayer-zoomin ${duration}ms ease-in normal`;
|
elem.style.animation = `htmlvideoplayer-zoomin ${duration}ms ease-in normal`;
|
||||||
hidePrePlaybackPage();
|
hidePrePlaybackPage();
|
||||||
|
@ -552,26 +552,6 @@ function tryRemoveElement(elem) {
|
||||||
this._castPlayer.playWhenHaveEnoughData();
|
this._castPlayer.playWhenHaveEnoughData();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
initMediaManager() {
|
|
||||||
mediaManager.defaultOnLoad = mediaManager.onLoad.bind(mediaManager);
|
|
||||||
mediaManager.onLoad = this.onMediaManagerLoadMedia;
|
|
||||||
|
|
||||||
//mediaManager.defaultOnPlay = mediaManager.onPlay.bind(mediaManager);
|
|
||||||
//mediaManager.onPlay = function (event) {
|
|
||||||
// // TODO ???
|
|
||||||
// mediaManager.defaultOnPlay(event);
|
|
||||||
//};
|
|
||||||
|
|
||||||
mediaManager.defaultOnStop = mediaManager.onStop.bind(mediaManager);
|
|
||||||
mediaManager.onStop = function (event) {
|
|
||||||
playbackManager.stop();
|
|
||||||
mediaManager.defaultOnStop(event);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue