Gesture demo webcam using JavaScript and Flash

Asked By 10 points N/A Posted on -
qa-featured

I need to know more about Gesture demo webcam using JavaScript and Flash. It will be grateful if I get a small coding about the function getFlashWebcam(direction). Please do the needful as I am in need of preparing an article on this subject to give  a presentation. Hope techyv experts can help. Thanks

SHARE
Answered By 0 points N/A #189025

Gesture demo webcam using JavaScript and Flash

qa-featured

 

Hi Mike,

You  can  access  webcam using javascript and flash .This can be done by  JavaScript function getFlashWebcam(direction).

Below is the sample code for getFlashWebcam(direction) function:

1) First it will detect the webcam.

2)Then Jquery is used for calling events .Any other  library can be used for triggering events.

Function  getFlashwebCame(direction)

{

If (direction==”right”)

$(“mvright”).trigger(“click”);

Else

$(“mvleft”).trigger(“click”);

}

We can also access webcam from javascript through navigator object properties and function .

 

Hope this will help you  in preparing your presentation.

All the best.

 

Related Questions