diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-17 15:00:46 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-17 15:01:04 +0200 |
commit | b335ccec49b450052e3520f66f9acb6670e669f8 (patch) | |
tree | 87099007da9f812621904a474f8a10085b3a1653 /client/src/assets/player/settings-menu-item.ts | |
parent | c07b6041111daa6dd5d611f31e31819db5992ba8 (diff) | |
download | PeerTube-b335ccec49b450052e3520f66f9acb6670e669f8.tar.gz PeerTube-b335ccec49b450052e3520f66f9acb6670e669f8.tar.zst PeerTube-b335ccec49b450052e3520f66f9acb6670e669f8.zip |
Fix ios player playback/subtitles menu
Diffstat (limited to 'client/src/assets/player/settings-menu-item.ts')
-rw-r--r-- | client/src/assets/player/settings-menu-item.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/client/src/assets/player/settings-menu-item.ts b/client/src/assets/player/settings-menu-item.ts index 6e2224e20..f6cf6d0f3 100644 --- a/client/src/assets/player/settings-menu-item.ts +++ b/client/src/assets/player/settings-menu-item.ts | |||
@@ -38,8 +38,11 @@ class SettingsMenuItem extends MenuItem { | |||
38 | this.eventHandlers() | 38 | this.eventHandlers() |
39 | 39 | ||
40 | player.ready(() => { | 40 | player.ready(() => { |
41 | this.build() | 41 | // Voodoo magic for IOS |
42 | this.reset() | 42 | setTimeout(() => { |
43 | this.build() | ||
44 | this.reset() | ||
45 | }, 0) | ||
43 | }) | 46 | }) |
44 | } | 47 | } |
45 | 48 | ||