Skip to content

Conversation

yclanlan
Copy link

@yclanlan yclanlan commented Nov 2, 2023

I got the Error message:

Uncaught TypeError: Cannot read properties of undefined (reading 'segment')
at HTMLVideoElement.videoReady (sketch.js:30:11)
videoReady @ sketch.js:30

=========

Change the order to load the ml5 first, then get the video. So it works now~

Before
截圖 2023-11-02 下午6 05 05

After:
截圖 2023-11-02 下午6 06 19

Error message:

Uncaught TypeError: Cannot read properties of undefined (reading 'segment')
    at HTMLVideoElement.videoReady (sketch.js:30:11)
videoReady @ sketch.js:30

=========

Change the order to load the ml5 first, then get the video. So it works now~
@yclanlan yclanlan changed the title Update sketch.js Editing the order to get the ml5 first. for the javascript version example for BodyPix / sketch.js Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant