Tone.js icon indicating copy to clipboard operation
Tone.js copied to clipboard

Examples on homepage not working on Safari 14.1

Open unindented opened this issue 4 years ago • 1 comments

Describe the bug None of the examples on the homepage work on Safari 14.1. Pressing run does nothing.

To Reproduce Go to https://tonejs.github.io/ on Safari 14.1, and press run on any of the examples.

Expected behavior Plays a sound.

What I've tried Autoplay restrictions on Safari probably breaking things. It gives users a bad first impression though.

Additional context N/A

unindented avatar Jul 07 '21 22:07 unindented

This seems to be because that little examples UI uses BroadcastChannel to communicate between the worker thread and the main page.

image

I should update that little widget to use a polyfill to get rid of this error.

tambien avatar Jul 25 '21 16:07 tambien