Skip to content

Commit

Permalink
Notice that Safari now supports fastSeek(). Baadly ?
Browse files Browse the repository at this point in the history
Resolve specific autostart issue on Safari iPhone #149
  • Loading branch information
Xavier Mouton-Dubosc committed Sep 26, 2022
1 parent 4e3fa33 commit eb0d219
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/document_cpu.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export const DocumentCPU = {

if (audiotag.fastSeek) {
// HTMLAudioElement.fastSeek() is an experimental but really fast function. Firefox only, alas
// Note that since the writing of this part, Safari aslo knows fastSeek(). It may be the root cause of some of my issues, as #149
audiotag.fastSeek(seconds);
} else {
try {
Expand Down

0 comments on commit eb0d219

Please sign in to comment.