Skip to content

Commit

Permalink
62 bugfix and example
Browse files Browse the repository at this point in the history
  • Loading branch information
maboa committed Sep 14, 2021
1 parent ae25139 commit 4df0dfb
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js/hyperaudio-lite.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ class HyperaudioLite {
if (this.playerType === 'native') {
this.currentTime = this.player.currentTime;
} else if (this.playerType === 'soundcloud') {
this.player.getPosition(function (ms) {
this.player.getPosition(ms => {
this.currentTime = ms / 1000;
});
} else {
Expand Down
Loading

0 comments on commit 4df0dfb

Please sign in to comment.