Example p5js video capture in Safari

I have tried https://p5js.org/examples/examples/Dom_Video_Capture.php on Explorer where it works. When I try it on Safari it doesn't, neither on a desktop nor on an iPhone. Can anyone help as I would like to get a video capture project going. Thanks in advance for any tips.

Tagged:

Answers

  • What exactly do you mean when you say it doesn't work? Do you see any errors in the JavaScript console?

  • Hi Kevin, thanks for responding. Doesn't work means a blank screen instead of the two video images. Here is the content of the console when I load the page http://p5js.org/examples/examples/Dom_Video_Capture.php

    OS X El Capitan Version 10.11.6 Safari Version 9.1.2 (11601.7.7)

    [Warning] Invalid CSS property declaration at: * (main.css, line 1292)
    [Warning] Invalid CSS property declaration at: * (main.css, line 1377)
    [Error] getUserMedia not supported in this browser
        createCapture (p5.dom.js:992)
        (anonyme Funktion)
        setup (example.html:5)
        (anonyme Funktion) (p5.min.js:4:12263)
        (anonyme Funktion)
        (anonyme Funktion) (p5.min.js:4:11260)
        (anonyme Funktion)
        e (p5.min.js:4:14674)
        global code (example.html:16)
        appendChild
        loadExample (examples.js:137)
        (anonyme Funktion) (examples.js:28)
        dispatch (jquery.min.js:3:28459)
        handle (jquery.min.js:3:25164)
    
  • Hi there, I'm trying to get one my projects to work on iOS. I noticed that Safari doesn't support getUserMedia, but is that the case for GoogleChrome on iOS too ... ?

Sign In or Register to comment.