1
0
mirror of https://github.com/videojs/video.js.git synced 2025-02-16 12:23:54 +02:00

fix: playback rate default text (#4558)

Previously, the default text only said `1` now it says `1x` which matches the look after changing the playback rate.
This commit is contained in:
Rafael Gaspar 2017-08-14 18:59:41 -03:00 committed by Gary Katsevman
parent 1f3375e485
commit a6b8425f6b

View File

@ -44,7 +44,7 @@ class PlaybackRateMenuButton extends MenuButton {
this.labelEl_ = Dom.createEl('div', {
className: 'vjs-playback-rate-value',
innerHTML: 1.0
innerHTML: '1x'
});
el.appendChild(this.labelEl_);