diff options
author | Sam Potts <sam@potts.es> | 2017-11-08 23:46:20 +1100 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2017-11-08 23:46:20 +1100 |
commit | bb66be98da5470e227703c4ebcfcbccba234a992 (patch) | |
tree | b45124f374117ff120acdf47fe15c838c8f9af20 /src/js/ui.js | |
parent | c948e95adea876c7c43785fe904bedd22f9c307d (diff) | |
download | plyr-bb66be98da5470e227703c4ebcfcbccba234a992.tar.lz plyr-bb66be98da5470e227703c4ebcfcbccba234a992.tar.xz plyr-bb66be98da5470e227703c4ebcfcbccba234a992.zip |
Volume fixes and other tidy up work
Diffstat (limited to 'src/js/ui.js')
-rw-r--r-- | src/js/ui.js | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/js/ui.js b/src/js/ui.js index c0db3f8f..6486b9fb 100644 --- a/src/js/ui.js +++ b/src/js/ui.js @@ -69,16 +69,21 @@ const ui = { // Captions captions.setup.call(this); - // Set volume + // Reset volume this.volume = null; - // this.muted = null; - // Set playback speed + // Reset mute state + this.muted = null; + + // Reset speed this.speed = null; - // Set loop + // Reset loop state this.loop = null; + // Reset quality options + this.options.quality = []; + // Reset time display ui.timeUpdate.call(this); |