mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
353d62846e
commit
31b6fde452
5 changed files with 20 additions and 17 deletions
|
@ -621,8 +621,6 @@ define(['browser', 'pluginManager', 'events', 'apphost', 'loading', 'playbackMan
|
|||
|
||||
if (enableCustomControls) {
|
||||
this.removeAttribute('controls');
|
||||
} else {
|
||||
this.setAttribute('controls', 'controls');
|
||||
}
|
||||
|
||||
seekOnPlaybackStart(e.target);
|
||||
|
@ -770,15 +768,9 @@ define(['browser', 'pluginManager', 'events', 'apphost', 'loading', 'playbackMan
|
|||
|
||||
function enableCustomVideoControls() {
|
||||
|
||||
//if (AppInfo.isNativeApp && browser.safari) {
|
||||
|
||||
// if (browser.ipad) {
|
||||
// // Need to disable it in order to support picture in picture
|
||||
// return false;
|
||||
// }
|
||||
|
||||
// return true;
|
||||
//}
|
||||
if (browser.ipad) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue