Skip to content

Commit

Permalink
fix: different duration for Firefox for whatever reason
Browse files Browse the repository at this point in the history
  • Loading branch information
Aquafina-water-bottle committed Jul 7, 2023
1 parent e855d52 commit 1ad09c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/js/media/audio-system.js
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1ad09c4

Please sign in to comment.