Merge pull request #75 from franks921/fs-fix-localstorage-volume-settings
fix: use custom localStorage key for volume setting
This commit is contained in:
commit
7ab8647fc8
@ -1153,7 +1153,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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user