Add player mode to player stats
This commit is contained in:
parent
6b4e74c2b7
commit
a45050e09e
2 changed files with 4 additions and 1 deletions
|
@ -212,6 +212,8 @@ class StatsCard extends Component {
|
||||||
: undefined
|
: undefined
|
||||||
|
|
||||||
return `
|
return `
|
||||||
|
${this.buildElement(player.localize('Player mode'), this.options_.mode)}
|
||||||
|
|
||||||
${this.buildElement(player.localize('Video UUID'), this.options_.videoUUID)}
|
${this.buildElement(player.localize('Video UUID'), this.options_.videoUUID)}
|
||||||
|
|
||||||
${this.buildElement(player.localize('Viewport / Frames'), frames)}
|
${this.buildElement(player.localize('Viewport / Frames'), frames)}
|
||||||
|
|
|
@ -50,7 +50,8 @@ const playerKeys = {
|
||||||
'Download Breakdown': 'Download Breakdown',
|
'Download Breakdown': 'Download Breakdown',
|
||||||
'Buffer Progress': 'Buffer Progress',
|
'Buffer Progress': 'Buffer Progress',
|
||||||
'Buffer State': 'Buffer State',
|
'Buffer State': 'Buffer State',
|
||||||
'Live Latency': 'Live Latency'
|
'Live Latency': 'Live Latency',
|
||||||
|
'Player mode': 'Player mode'
|
||||||
}
|
}
|
||||||
Object.assign(playerKeys, videojs)
|
Object.assign(playerKeys, videojs)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue