fix: use custom localStorage key for volume setting
This commit is contained in:
parent
73de5b5773
commit
50c76f3d7e
@ -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 || {}));
|
||||
}(this.plyr = this.plyr || {}));
|
||||
|
Loading…
x
Reference in New Issue
Block a user