mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 04:08:39 +01:00
add init lol
This commit is contained in:
parent
18e0911efc
commit
f7ec066f8e
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0-or-later
|
||||
|
||||
function init(){
|
||||
// Retrieve volume from local storage or set to max if not available
|
||||
const initialVolume = localStorage.getItem('playerVolume') || 1;
|
||||
const video = document.getElementById('video');
|
||||
|
@ -236,5 +237,5 @@ fetchUrls(urls);
|
|||
return 2;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
// @license-end
|
Loading…
Reference in a new issue