diff options
Diffstat (limited to 'client/src/assets/player')
-rw-r--r-- | client/src/assets/player/peertube-videojs-plugin.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.ts index 5fad139b9..e268510fa 100644 --- a/client/src/assets/player/peertube-videojs-plugin.ts +++ b/client/src/assets/player/peertube-videojs-plugin.ts | |||
@@ -134,7 +134,10 @@ class PeerTubePlugin extends Plugin { | |||
134 | } | 134 | } |
135 | 135 | ||
136 | getCurrentResolutionLabel () { | 136 | getCurrentResolutionLabel () { |
137 | return this.currentVideoFile ? this.currentVideoFile.resolution.label : '' | 137 | if (!this.currentVideoFile) return '' |
138 | |||
139 | const fps = this.currentVideoFile.fps >= 50 ? this.currentVideoFile.fps : '' | ||
140 | return this.currentVideoFile.resolution.label + fps | ||
138 | } | 141 | } |
139 | 142 | ||
140 | updateVideoFile ( | 143 | updateVideoFile ( |