ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix FPS label in resolution menu
Chocobozzz395ecf709dfa
diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.tsindex 5fad139b90..e268510fa0 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 {}getCurrentResolutionLabel () {- return this.currentVideoFile ? this.currentVideoFile.resolution.label : ''+ if (!this.currentVideoFile) return ''++ const fps = this.currentVideoFile.fps >= 50 ? this.currentVideoFile.fps : ''+ return this.currentVideoFile.resolution.label + fps}updateVideoFile (