Add player mode to player stats

pull/4027/head
Chocobozzz 2021-04-28 09:07:57 +02:00
parent 6b4e74c2b7
commit a45050e09e
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 4 additions and 1 deletions

View File

@ -212,6 +212,8 @@ class StatsCard extends Component {
: undefined
return `
${this.buildElement(player.localize('Player mode'), this.options_.mode)}
${this.buildElement(player.localize('Video UUID'), this.options_.videoUUID)}
${this.buildElement(player.localize('Viewport / Frames'), frames)}

View File

@ -50,7 +50,8 @@ const playerKeys = {
'Download Breakdown': 'Download Breakdown',
'Buffer Progress': 'Buffer Progress',
'Buffer State': 'Buffer State',
'Live Latency': 'Live Latency'
'Live Latency': 'Live Latency',
'Player mode': 'Player mode'
}
Object.assign(playerKeys, videojs)