From 1ad09c47fbda0bf6182dc06315ab1030cc66c0ad Mon Sep 17 00:00:00 2001 From: Austin Siew <17107540+Aquafina-water-bottle@users.noreply.github.com> Date: Fri, 7 Jul 2023 15:46:49 -0600 Subject: fix: different duration for Firefox for whatever reason --- ext/js/media/audio-system.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/js/media') diff --git a/ext/js/media/audio-system.js b/ext/js/media/audio-system.js index eb20bac6..d8b78fdc 100644 --- a/ext/js/media/audio-system.js +++ b/ext/js/media/audio-system.js @@ -80,7 +80,7 @@ class AudioSystem extends EventDispatcher { const duration = audio.duration; return ( duration !== 5.694694 && // Invalid audio (Chrome) - duration !== 5.720718 // Invalid audio (Firefox) + duration !== 5.651111 // Invalid audio (Firefox) ); } default: -- cgit v1.2.3