aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/js/plyr.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js
index c2b78d6b..8096ea79 100644
--- a/src/js/plyr.js
+++ b/src/js/plyr.js
@@ -1045,7 +1045,7 @@
// Store the volume in storage
if(config.storage.enabled && _storage().supported) {
- window.localStorage.plyr_volume = volume;
+ window.localStorage.setItem(config.storage.key, volume);
}
}
@@ -1531,4 +1531,4 @@
return players;
}
-}(this.plyr = this.plyr || {})); \ No newline at end of file
+}(this.plyr = this.plyr || {}));