jQuery网络摄像头插件-错误:尚未注册Flash电影 [英] Jquery webcam plugin - error: Flash movie not yet registered

查看:743
本文介绍了jQuery网络摄像头插件-错误:尚未注册Flash电影的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用jquery网络摄像头插件捕获图像.我可以通过播放器观看视频,但是无法捕获图像.我收到错误:尚未注册Flash电影"错误.这是什么意思? 尝试调用webcam.capture函数时出现错误,提示"webcam.capture不是函数".

I want to capture image using jquery webcam plugin. I am able to view the video through the player, but i am not able to capture images. I get "error: Flash movie not yet registered" error. What does this mean? On trying to call webcam.capture function i get an error which says, 'webcam.capture is not a function'.

编辑:我正在使用以下jQuery插件: http://www.xarg.org/project/jquery-webcam-plugin/

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

推荐答案

此链接中的问题已解决: https://github.com/infusion/jQuery-webcam/issues/14 .

The problem is solved in this link: https://github.com/infusion/jQuery-webcam/issues/14.

问题是因为测试必须在HTTP URL"http://...."中,而不是在文件URL"file://...."中.

The issue is because the test must be in a HTTP URL "http://...." and not file URL "file://....".

这篇关于jQuery网络摄像头插件-错误:尚未注册Flash电影的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆