Script error. (: line 0)


#1

Hi - this sketch worked yesterday, and now I get:

Script error. (: line 0)

The sketch uses a web cam, FYI. I noticed Chrome has just updated today (Dec 4 2018) to “Version 71.0.3578.80 (Official Build) (64-bit)”. I am on Mac OSX 10.10.5 Yosemite. This is what the browser console says:

p5.dom.min.js:1 Uncaught TypeError: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided.
    at VM65 p5.dom.min.js:1
(anonymous) @ p5.dom.min.js:1
[object%20MediaStream]:1 GET https://editor.p5js.org/billythemusical/sketches/Sk1L1EJy4/[object%20MediaStream] 404

Any idears? File under: “Final Project Due Tomorrow” :expressionless:

Billy B


#2

It seems to work fine for me. Does it work if you test it now?


#3

Hey Sarah,
Thanks for checking it out. I am still having the same issue and p5/Chrome console messages. I cannot seem to figure out the issue. Could it be something on my end?


#4

Does it work on firefox, safari, opera?


#5

Try changing in index.html

<script src="//cdnjs.cloudflare.com/ajax/libs/p5.js/0.4.22/p5.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/p5.js/0.4.22/addons/p5.dom.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/tracking.js/1.1.2/tracking-min.js"></script>

to

<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.4.22/p5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.4.22/addons/p5.dom.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tracking.js/1.1.2/tracking-min.js"></script>