Webcam access using javascript

karan20m

karan20m

@karan20m-gCNSY2 Oct 26, 2024
hello Friends.. i want to know how to access webcam with java script or jquery only. no flash.

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Kaustubh Katdare

    Kaustubh Katdare

    @thebigk Oct 12, 2013

    karan20m
    hello Friends.. i want to know how to access webcam with java script or jquery only. no flash.
    I think following links should be useful -

    #-Link-Snipped-# &

    <a href="https://wiki.mozilla.org/Platform/Features/Camera_API" target="_blank" rel="noopener noreferrer">Platform/Features/Camera API - MozillaWiki</a>
  • karan20m

    karan20m

    @karan20m-gCNSY2 Oct 12, 2013

    i have tried. but it is not working. any other option??
  • Manish Goyal

    Manish Goyal

    @manish-r2Hoep Oct 12, 2013

    Try this link

    <a href="https://cbateman.com/blog/webcam-access-is-easy-in-javascript/" target="_blank" rel="nofollow noopener noreferrer">Webcam Access is Easy in JavaScript | Chris Bateman</a>

    It will surely help you
  • Anand Tamariya

    Anand Tamariya

    @anand-tamariya-DnfjEX Oct 13, 2013

    Well, if you are working on remote monitoring, may I suggest using a IP camera like #-Link-Snipped-# No programming required absolutely.
  • karan20m

    karan20m

    @karan20m-gCNSY2 Oct 13, 2013

    thnx manish. its working
  • karan20m

    karan20m

    @karan20m-gCNSY2 Oct 13, 2013

    <a href="https://davidwalsh.name/demo/camera.php" target="_blank" rel="nofollow noopener noreferrer">Camera and Video Control with HTML5 Example</a>
  • Manish Goyal

    Manish Goyal

    @manish-r2Hoep Oct 13, 2013

    @#-Link-Snipped-# but karan, the above link is working for chrome only, there are many tutorial out there on google, you can use them
  • karan20m

    karan20m

    @karan20m-gCNSY2 Oct 30, 2013

    @#-Link-Snipped-# you just have to add another
    constraints for different browsers.
    llike for firefox-navigator.mozGetUserMedia and for
    chrome-navigator.webkitGetUserMedia.
    and it will work.