Update Sync and minor things
This commit is contained in:
parent
dd91226717
commit
7bbe75f089
2 changed files with 45 additions and 24 deletions
|
@ -95,4 +95,10 @@ SyncVideo.addEventListener(
|
||||||
function SyncTimestamp() {
|
function SyncTimestamp() {
|
||||||
SyncAudio.currentTime = SyncVideo.currentTime
|
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>
|
</script>
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue