Skip to content

(Safari only) Cannot play external audio url via .load(url), but works via .getMediaElement().src = url #3457

Answered by katspaugh
HStromfelt asked this question in Q&A
Discussion options

You must be logged in to vote

You could also try using Web Audio for playback. It gives a smoother playback at the cost of consuming more resources:

const wavesurfer = WaveSurfer.create({
  container: '...',
  url: '<your url>',
  backend: 'WebAudio',
})

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@katspaugh
Comment options

@HStromfelt
Comment options

@HStromfelt
Comment options

@katspaugh
Comment options

Answer selected by HStromfelt
@HStromfelt
Comment options

@katspaugh
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants