aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone/player/player.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/standalone/player/player.ts')
-rw-r--r--client/src/standalone/player/player.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/src/standalone/player/player.ts b/client/src/standalone/player/player.ts
index 91a5e73f3..f33539134 100644
--- a/client/src/standalone/player/player.ts
+++ b/client/src/standalone/player/player.ts
@@ -7,7 +7,8 @@ const PASSTHROUGH_EVENTS = [
7 'play', 7 'play',
8 'playbackStatusUpdate', 8 'playbackStatusUpdate',
9 'playbackStatusChange', 9 'playbackStatusChange',
10 'resolutionUpdate' 10 'resolutionUpdate',
11 'volumeChange'
11] 12]
12 13
13/** 14/**
@@ -100,7 +101,7 @@ export class PeerTubePlayer {
100 * @param value A number from 0 to 1 101 * @param value A number from 0 to 1
101 */ 102 */
102 async getVolume (): Promise<number> { 103 async getVolume (): Promise<number> {
103 return this.sendMessage<void, number>('setVolume') 104 return this.sendMessage<void, number>('getVolume')
104 } 105 }
105 106
106 /** 107 /**