Merge pull request #75 from franks921/fs-fix-localstorage-volume-settings

fix: use custom localStorage key for volume setting
This commit is contained in:
Sam Potts
2015-04-05 21:39:08 +10:00

View File

@ -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);
}
}
@ -1655,4 +1655,4 @@
return players;
}
}(this.plyr = this.plyr || {}));
}(this.plyr = this.plyr || {}));