aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone/player/player.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-12-17 14:20:43 +0100
committerChocobozzz <me@florianbigard.com>2019-12-18 10:14:23 +0100
commit6377a9f2b0f762be9af61f46b4f0a9efd0c4b7c2 (patch)
treec632833f4275df8d75a6df55fe8673a7dec7c0ec /client/src/standalone/player/player.ts
parentc3b937916711136cb1ce974f769205439a3d2e04 (diff)
downloadPeerTube-6377a9f2b0f762be9af61f46b4f0a9efd0c4b7c2.tar.gz
PeerTube-6377a9f2b0f762be9af61f46b4f0a9efd0c4b7c2.tar.zst
PeerTube-6377a9f2b0f762be9af61f46b4f0a9efd0c4b7c2.zip
Fix test embed page
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 /**