Skip to content

Commit

Permalink
drop soundmanager2 and bar-ui for HTML5 audio
Browse files Browse the repository at this point in the history
  • Loading branch information
Rello committed Jul 29, 2020
1 parent 214f244 commit 67adb14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/player.js
Expand Up @@ -287,6 +287,7 @@ document.addEventListener('DOMContentLoaded', function () {
OCA.Audioplayer.Player.html5Audio.pause();
OCA.Audioplayer.Player.html5Audio.currentTime = parseInt(OCA.Audioplayer.Player.trackStartPosition);
OCA.Audioplayer.Player.html5Audio.play();
OCA.Audioplayer.Player.trackStartPosition = 0; // reset the time to avoid that is being set again and again when seeking
}
});

Expand Down

0 comments on commit 67adb14

Please sign in to comment.