Skip to content

Last example in createCapture() docs is not showing preview #1366

@doradocodes

Description

@doradocodes

Most appropriate sections of the p5.js website?

Reference

What is your operating system?

Mac OS

Web browser and version

No response

Actual Behavior

The last example in the createCapture documentation page is not showing the preview of the sample code:
https://p5js.org/reference/p5/createCapture/

Image

This issue was found while looking at PR #1289. While testing this change, I noticed that the preview does appear on the 2.0 branch, but not in the main branch.

Expected Behavior

Image

The preview (showing the webcam live stream) should showing next to the example code (this is a screenshot of it working on the 2.0 branch).

Steps to reproduce

No response

Would you like to work on the issue?

This should be assigned to someone else.

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions