Update Sync and minor things

This commit is contained in:
Korbs 2025-01-02 00:17:36 -05:00
parent dd91226717
commit 7bbe75f089
No known key found for this signature in database
2 changed files with 45 additions and 24 deletions

View file

@ -95,4 +95,10 @@ SyncVideo.addEventListener(
function SyncTimestamp() {
SyncAudio.currentTime = SyncVideo.currentTime
}
</script>
<script define:vars={{PlayerName}}>
var Player = document.querySelector('#zorn-player-' + PlayerName + ' audio')
var VolumeRange = document.querySelector('#zorn-player-' + PlayerName + ' .vc-volume-controller-input input')
VolumeRange.addEventListener("input", (event) => {Player.volume = event.target.value})
</script>

File diff suppressed because one or more lines are too long