mirror of https://github.com/Chocobozzz/PeerTube
Add player mode to player stats
parent
6b4e74c2b7
commit
a45050e09e
|
@ -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)}
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue