mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-15 05:08:50 +01:00
bwa
This commit is contained in:
parent
4bb8d742da
commit
1a19f51072
1 changed files with 0 additions and 19 deletions
|
@ -71,25 +71,6 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||||
audio.pause();
|
audio.pause();
|
||||||
});
|
});
|
||||||
|
|
||||||
video.on('waiting', () => {
|
|
||||||
video.pause();
|
|
||||||
audio.pause();
|
|
||||||
});
|
|
||||||
|
|
||||||
video.on('canplaythrough', () => {
|
|
||||||
if (!video.paused()) {
|
|
||||||
video.play();
|
|
||||||
audio.play();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
video.on('canplay', () => {
|
|
||||||
if (!video.paused()) {
|
|
||||||
video.play();
|
|
||||||
audio.play();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
video.on('seeking', handleSeek);
|
video.on('seeking', handleSeek);
|
||||||
|
|
||||||
video.on('seeked', () => {
|
video.on('seeked', () => {
|
||||||
|
|
Loading…
Reference in a new issue