victordibia / handtrack.js

A library for prototyping realtime hand detection (bounding box), directly in the browser.
https://victordibia.com/handtrack.js/
MIT License
2.84k stars 252 forks source link

Cannot read property 'getUserMedia' of undefined #30

Open shyal opened 4 years ago

shyal commented 4 years ago

Chrome Version 81.0.4044.138 (Official Build) (64-bit) OSX Catalina 10.15.2 (19C57)

pong.js:112 766 1440 planck-with-testbed.js:13564 On load. planck-with-testbed.js:13193 Starting... planck-with-testbed.js:13205 Loading apps... planck-with-testbed.js:13156 Creating app... planck-with-testbed.js:13592 Creating Canvas... planck-with-testbed.js:13617 Creating stage... planck-with-testbed.js:13159 Initing app... planck-with-testbed.js:13165 Starting app... planck-with-testbed.js:13662 Resize: 2880 x 1532 / 2 pong.js:205 ready! 5handtrack.min.js:25 Uncaught (in promise) TypeError: Cannot read property 'getUserMedia' of undefined at handtrack.min.js:25 at new Promise () at Object.startVideo (handtrack.min.js:25) at startVideo (pong.js:30) at toggleVideo (pong.js:45) at HTMLButtonElement. (pong.js:57) planck-with-testbed.js:13662 Resize: 1362 x 1532 / 2 DevTools failed to load SourceMap: Could not load content for chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/sourcemaps/onloadwff.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME

victordibia commented 4 years ago

Hi,

Can you provide additional context? E.g. what code you were attempting to run? The error suggests this might be chrome issue. Explore to see if the discussion here is helpful https://superuser.com/questions/1523427/google-chrome-devtools-failed-to-parse-sourcemap-chrome-extension

-V