aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/plyr.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/plyr.js')
-rw-r--r--src/js/plyr.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js
index dfde03b1..c04d6fa9 100644
--- a/src/js/plyr.js
+++ b/src/js/plyr.js
@@ -683,7 +683,6 @@ class Plyr {
set quality(input) {
const config = this.config.quality;
const options = this.options.quality;
- const { duration, playing } = this;
if (!options.length) {
return;
@@ -715,15 +714,7 @@ class Plyr {
// Save to storage
if (updateStorage) {
- this.storage.set({ quality: quality });
- }
-
- // Seek to duration before changing quality
- this.seek = duration;
-
- // Continue
- if (playing) {
- this.play();
+ this.storage.set({ quality });
}
}