Skip to content

Commit

Permalink
Merge pull request #84 from rogeriochaves/main
Browse files Browse the repository at this point in the history
Fix safari, apparently createMediaElementSource does not work when used inside 'play' event
  • Loading branch information
foobar404 authored Apr 4, 2023
2 parents 911cc84 + aca13f6 commit 45befe2
Show file tree
Hide file tree
Showing 5 changed files with 17,348 additions and 67 deletions.
2 changes: 1 addition & 1 deletion dist/bundle.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ export declare class Wave {
private _audioSource;
private _audioAnalyser;
private _muteAudio;
private _interacted;
constructor(audioElement: AudioElement, canvasElement: HTMLCanvasElement, muteAudio?: boolean);
private connectAnalyser;
private _play;
addAnimation(animation: IAnimation): void;
clearAnimations(): void;
Expand Down
Loading

0 comments on commit 45befe2

Please sign in to comment.