]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/standalone/player/definitions.ts
Fix embed api documentation
[github/Chocobozzz/PeerTube.git] / client / src / standalone / player / definitions.ts
index afd10541bbf311a02a34777b2d215c172aa07532..9fe9032607ebab3fb33793b92a366196d70596a6 100644 (file)
@@ -4,11 +4,15 @@ export type PlayerEventType =
   'pause' | 'play' |
   'playbackStatusUpdate' |
   'playbackStatusChange' |
-  'resolutionUpdate'
+  'resolutionUpdate' |
+  'volumeChange'
 
 export interface PeerTubeResolution {
   id: any
   label: string
-  src: string
   active: boolean
+  height: number
+
+  src?: string
+  width?: number
 }