aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets/player')
-rw-r--r--client/src/assets/player/shared/stats/stats-card.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/src/assets/player/shared/stats/stats-card.ts b/client/src/assets/player/shared/stats/stats-card.ts
index 1199d3285..830670271 100644
--- a/client/src/assets/player/shared/stats/stats-card.ts
+++ b/client/src/assets/player/shared/stats/stats-card.ts
@@ -145,7 +145,10 @@ class StatsCard extends Component {
145 ? `${level?.videoCodec || ''} / ${level?.audioCodec || ''}` 145 ? `${level?.videoCodec || ''} / ${level?.audioCodec || ''}`
146 : undefined 146 : undefined
147 147
148 const resolution = `${level?.height}p${level?.attrs['FRAME-RATE'] || ''}` 148 const resolution = level?.height
149 ? `${level?.height}p${level?.attrs['FRAME-RATE'] || ''}`
150 : undefined
151
149 const buffer = this.timeRangesToString(this.player().buffered()) 152 const buffer = this.timeRangesToString(this.player().buffered())
150 153
151 let progress: number 154 let progress: number