fix: use custom localStorage key for volume setting

This commit is contained in:
Frank 2015-04-05 13:26:17 +02:00
parent 73de5b5773
commit 50c76f3d7e

View File

@ -1045,7 +1045,7 @@
// Store the volume in storage // Store the volume in storage
if(config.storage.enabled && _storage().supported) { if(config.storage.enabled && _storage().supported) {
window.localStorage.plyr_volume = volume; window.localStorage.setItem(config.storage.key, volume);
} }
} }
@ -1531,4 +1531,4 @@
return players; return players;
} }
}(this.plyr = this.plyr || {})); }(this.plyr = this.plyr || {}));