Expected Results
Playback works for all devices
Observed Results
As I am testing the latest audioworklets implementation, the playback function is not working in Safari 14.1 on iPhone or Mac.
When clicking on the play button, the playback won't occur; instead it returns an error:
unhandled Promise Rejection: InvalidStateError: No ScriptProcessor was registered with this name
The error is pointing to alphaTab.js:26188, which is the following code in the AlphaSynthAudioWorkletOutput class
this._worklet = new AudioWorkletNode(ctx, 'alphatab');
On other devices I have tested so far (Android phone, Safari Preview 15.0 / Chrome on Mac), the playback works with no problem
Steps to Reproduce
Link to jsFiddle, CodePen, Project etc.: https://jsbin.com/budozuf/
- Open the link in Safari on iPhone or Mac
- Click on the play button
Further details
Your environment
Version
Flavor
System
iPhone X (iOS 14.6); Safari 14.1.1
Macbook (Big Sur 11.4); Safari 14.1.1
Expected Results
Playback works for all devices
Observed Results
As I am testing the latest audioworklets implementation, the playback function is not working in Safari 14.1 on iPhone or Mac.
When clicking on the play button, the playback won't occur; instead it returns an error:
The error is pointing to
alphaTab.js:26188, which is the following code in theAlphaSynthAudioWorkletOutputclassOn other devices I have tested so far (Android phone, Safari Preview 15.0 / Chrome on Mac), the playback works with no problem
Steps to Reproduce
Link to jsFiddle, CodePen, Project etc.: https://jsbin.com/budozuf/
Further details
Your environment
Version
Flavor
System
iPhone X (iOS 14.6); Safari 14.1.1
Macbook (Big Sur 11.4); Safari 14.1.1