add init lol

This commit is contained in:
Ashley 2023-10-22 11:59:02 +00:00
parent 18e0911efc
commit f7ec066f8e

View file

@ -1,5 +1,6 @@
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0-or-later // @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 // Retrieve volume from local storage or set to max if not available
const initialVolume = localStorage.getItem('playerVolume') || 1; const initialVolume = localStorage.getItem('playerVolume') || 1;
const video = document.getElementById('video'); const video = document.getElementById('video');
@ -236,5 +237,5 @@ fetchUrls(urls);
return 2; return 2;
} }
} }
}
// @license-end // @license-end