jqueryflashjquery-webcam-plugin

jQuery webcam plugin and flash webcam permissions


I'm using this jQuery plugin: http://www.xarg.org/project/jquery-webcam-plugin/

When I run this code on localhost, I never see the flash permissions request to access the webcam. If I specifically set flash to allow webcam access to localhost, the plugin works.

What step am I missing to cause this plugin to request permissions?


Solution

  • I have never used the above mentioned plugin, but could it be that you are setting the width and height to a smaller value than 214x137? That is the size that is needed for the permissions dialog. When your Flash file is smaller than that, it just won't appear.

    A solution to that is resizing the component after access has been granted or denied. Although I do not know whether or not that works with the jquery plugin.