processing / processing/p5.js-website

Sketch detail pages: OpenProcessing embeds stuck in loading state, never render

Open
#1,307 1 comment 0 reactions 1 assignee View on GitHub

@rushdarshan is already working on this.

Since Apr 7, 2026.

Bug Critical
Dominant language
MDX
Stars
96
Forks
322
Avg merge
5d 22h
Merged PRs (30d)
8

Description

Most appropriate sections of the p5.js website?

Community (Sketches, Libraries, Events)

What is your operating system?

None

Web browser and version

No response

Actual Behavior

On all sketch detail pages (/sketches/{id}), the embed area displays a loading
spinner indefinitely. The sketch content never renders and no error message is shown.

Tested on:

All three reproduce the same failure consistently.

Image
Expected Behavior

The embedded sketch should render in the embed area, or a graceful fallback
should be shown if the embed fails to load.

Steps to reproduce
  1. Open any sketch detail page e.g. https://p5js.org/sketches/2690038/
  2. Wait for the page to fully load
  3. Observe the embed area — loading spinner appears and never resolves

Root cause: iframe elements are missing sandbox and allow attributes,
which blocks OpenProcessing's embed scripts from executing.

Would you like to work on the issue?

Yes, I have a fix ready and can open a PR immediately.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.