Skip to content

Commit

Permalink
Upgrade howler.js to fix bug in Safari (#53)
Browse files Browse the repository at this point in the history
* feat: include .wav file example

* fix: wav files not working in Safari (goldfire/howler.js#1415)
  • Loading branch information
jjhamshaw authored Oct 28, 2020
1 parent a703840 commit 0eae69d
Show file tree
Hide file tree
Showing 4 changed files with 1,792 additions and 1,578 deletions.
1 change: 1 addition & 0 deletions examples/src/BasicExample/FileLoader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const FileLoader: FunctionComponent<{}> = () => {
<option></option>
<option>audio.mp3</option>
<option>cats.mp3</option>
<option>explosion.wav</option>
<option>doesntExist.mp3</option>
</select>
{!ready && !error && loading && <p>Fetching audio file...</p>}
Expand Down
Binary file added examples/static/explosion.wav
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"react": ">=16.8"
},
"dependencies": {
"howler": "^2.2.0"
"howler": "^2.2.1"
},
"husky": {
"hooks": {
Expand Down
Loading

0 comments on commit 0eae69d

Please sign in to comment.