()
| 116 | this._progressBar.progress = this.currentTime / this.duration |
| 117 | } |
| 118 | private _updateVolume() { |
| 119 | if (this._player.muted) { |
| 120 | this._volume.innerHTML = Icons.VolumeMute |
| 121 | return |
| 122 | } |
| 123 | const v = this._player.volume |
| 124 | if (v >= 0.95) { |
| 125 | this._volume.innerHTML = Icons.VolumeHigh |
| 126 | } else if (v > 0) { |
| 127 | this._volume.innerHTML = Icons.VolumeLow |
| 128 | } else { |
| 129 | this._volume.innerHTML = Icons.VolumeMute |
| 130 | } |
| 131 | } |
| 132 | } |
no outgoing calls
no test coverage detected