Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cam.capture always undefined #71

Open
cubosystemsInternational opened this issue May 10, 2020 · 0 comments
Open

cam.capture always undefined #71

cubosystemsInternational opened this issue May 10, 2020 · 0 comments

Comments

@cubosystemsInternational

Hello,
I am in need of integrating web cam and access its audio/video streams in IE. I have tried your shim and it works fine up to a certain point.

In getUserMedia.js, line no 103, here, there is a condition where you check if the capture is not undefined. In my case, it always becomes undefined .

I have console logged that particular element and it looks like this:
<!--[if IE]>--><object width="320" height="240" id="XwebcamXobjectX" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="movie" value="/Scripts/jscam_canvas_only.swf"><!--<![endif]--><!--[if !IE]>--><object width="320" height="240" id="XwebcamXobjectX" data="/Scripts/jscam_canvas_only.swf" type="application/x-shockwave-flash"><!--<![endif]--><param name="FlashVars" value="mode=callback&amp;quality=85"><param name="allowScriptAccess" value="always"></object></object>

Is there any particular reason why this is happening? Am I missing something? Please help me on this.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant