aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets/player')
-rw-r--r--client/src/assets/player/bezels/bezels-plugin.ts2
-rw-r--r--client/src/assets/player/peertube-player-manager.ts1
2 files changed, 2 insertions, 1 deletions
diff --git a/client/src/assets/player/bezels/bezels-plugin.ts b/client/src/assets/player/bezels/bezels-plugin.ts
index 4317d60f9..c2c251961 100644
--- a/client/src/assets/player/bezels/bezels-plugin.ts
+++ b/client/src/assets/player/bezels/bezels-plugin.ts
@@ -43,7 +43,7 @@ class PauseBezel extends Component {
43 this.options_ = options 43 this.options_ = options
44 44
45 player.on('pause', (_: any) => { 45 player.on('pause', (_: any) => {
46 if (player.seeking()) return 46 if (player.seeking() || player.ended()) return
47 this.container.innerHTML = getPauseBezel() 47 this.container.innerHTML = getPauseBezel()
48 this.showBezel() 48 this.showBezel()
49 }) 49 })
diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.ts
index ac3609c04..27aa360e6 100644
--- a/client/src/assets/player/peertube-player-manager.ts
+++ b/client/src/assets/player/peertube-player-manager.ts
@@ -52,6 +52,7 @@ export interface CustomizationOptions {
52 muted?: boolean 52 muted?: boolean
53 loop?: boolean 53 loop?: boolean
54 subtitle?: string 54 subtitle?: string
55 resume?: string
55 56
56 peertubeLink: boolean 57 peertubeLink: boolean
57} 58}