Skip to content

Commit

Permalink
fix: use on can play through
Browse files Browse the repository at this point in the history
  • Loading branch information
bamdadfr committed Oct 9, 2024
1 parent 19d90d6 commit 31b20b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/audio/hooks/use-audio-load.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export function useAudioLoad() {
setSavedUrl(url);

audio.oncanplay = handleCanPlay;
audio.oncanplaythrough = handleCanPlay;
audio.onloadedmetadata = handleMetadata;

// todo: fix me
Expand Down

0 comments on commit 31b20b9

Please sign in to comment.