Search code examples
androidjquerygoogle-chromefirefoxwebcam

jQuery webcam plugin not working with mobile browsers


Hi I am using this plugin in my application which is going to use in android browsers also. I got a message that on firefox that 'plugin is needed' when i go to adobe for flugin then it says no plugin available for the device. with chrome on android it says this plugin is not supported...

what I suppose to do? How it will work on cellphone and tablet also?


Solution

  • This solution will never work in mobiles, here is why.

    $("#camera").webcam({
        width: 320,
        height: 240,
        mode: "callback",
        swffile: "/download/jscam_canvas_only.swf",
        onTick: function() {},
        onSave: function() {},
        onCapture: function() {},
        debug: function() {},
        onLoad: function() {}
    });
    

    this jscam_canvas_only.swf which is a flash object can't not work in mobiles.