diff --git a/src/js/plyr.js b/src/js/plyr.js index 4a548bfa..49f9d5c2 100644 --- a/src/js/plyr.js +++ b/src/js/plyr.js @@ -1153,7 +1153,7 @@ // Store the volume in storage if(config.storage.enabled && _storage().supported) { - window.localStorage.plyr_volume = volume; + window.localStorage.setItem(config.storage.key, volume); } } @@ -1662,4 +1662,4 @@ return players; } -}(this.plyr = this.plyr || {})); \ No newline at end of file +}(this.plyr = this.plyr || {}));