Parameter 1 is not of type 'Blob'

Trying to make this recipe
When you drag a cube into a dashed square in the console, writes
parameter 1 is not of type ‘Blob’. I didn’t change the code, I just copied it from the example. Is this recipe out of date, too?

The idea of this demo is to drag a texture onto the square. When you drop it, it will be automatically applied to the cube.

I’ve tested it on my computer and it works as expected.

Thanks. I wiil be search a mistake.

What’s the “blob”? I understood that the problem was readAsDataURL, but what?

I suggest you read existing resources about this topic. E.g.

1 Like