This post is a PSA regarding some errors that have been cropping up for me, and possibly for some of you as well.

In some situations, it looks like the p5.sound.min.js library causes an error that stops the sketch from loading properly into an iframe embed.

Luckily the fix is quite simple. In the index.html file, find the script tag that points to p5.sound.min.js:

script tag that points to p5.sound.min.js in the index.html

Deleting this tag seems to solve the problem.

script tag that points to p5.sound.min.js deleted