test commit ignore pls

This commit is contained in:
ashley 2024-08-19 22:12:04 +00:00
parent db151c1ec2
commit ad28847a67

View file

@ -675,11 +675,10 @@ document.addEventListener("DOMContentLoaded", () => {
};
video.on('play', () => {
// Sync audio with video before playing
if (Math.abs(video.currentTime() - audio.currentTime) > 0.3) {
audio.currentTime = video.currentTime();
}
// Set initial sync point at 0.01 seconds
video.currentTime(0.01);
audio.currentTime = 0.01;
// Wait for both video and audio to be buffered sufficiently
if (isVideoBuffered() && checkAudioBuffer()) {
video.play();
@ -736,7 +735,6 @@ document.addEventListener("DOMContentLoaded", () => {
}
});
</script>
<% if(dm) { %>