Comments (3)
I know that this thread is a year old, but if you REALLY need to use it locally (like i had to), you can change your Global Security Settings (of flash player) to trust files in a determined folder.
- Go to http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
- Click Edit location
- Then Add Location
- Then choose the folder where your files are
With that configured, i could use the plugin locally.
from jquery-webcam.
I've had exactly this issue too. The example on the main project page works great, but when I try to recreate it either from scratch (with just a one-div page and calling $("#webcam").webcam({ normal setup parameters}); onLoad never gets called and I always get the same "not yet registered" error message.
I've tried copying the main xarg page that has the demo on it and change only the include link for the swf (because /download/ isn't going to work locally) I get the "not yet registered!" error. Is there something I'm missing?
I'd really love a minimal example case in the repository somewhere, because trying to adapt your example page is a bit of a struggle because it's part of a full website with all the includes, etc, that entails.
from jquery-webcam.
Okay, so the issue turns out to be that if you open a page locally (e.g. file:///) Flash will (as far as I can tell) simply decline to expose ExternalInterfaces to Javascript. I'm not really sure why this is (perhaps some sort of XSS issue? XMLHttpRequest also fails in confusing and subtle ways if you issue calls from a page loaded over file:///), but serving this simple gist (https://gist.github.com/2794406) over http works fine.
It might be worth adding a note about this in the site - I just blew like 90 minutes on trying to sort this out before realizing that was the issue. Would send a pull request, but there's nothing really in this repo that explains how to use the plugin that is easily forkable/editable.
from jquery-webcam.
Related Issues (20)
- Documentation not proper + saving video through webcam not mentioned HOT 2
- how to change dimensions in jscam.as file and jscam.xml file .
- switch between "callback" and "stream" modes dynamically. HOT 1
- IE8 Error: Object doesn't support this property or method HOT 1
- PLEASE! Mirror the images on cam
- Setting other camera not working HOT 3
- The link to documentation page is broken
- How to get the return value when using save mode saving image file HOT 1
- Support for displaying multiple cameras at the same time?
- Webcam is not showed using jscam.swf HOT 1
- jQuery-webcam Not working
- Error stringFlash movie not yet registered
- How can I set the source of an img element as being the picture taken by the webcam?
- Changing the resolution of the saved image... HOT 2
- May anybody provide other size of webcam jscam.swf file?? (240x180size or 160x120size) HOT 1
- 新版的谷歌浏览器打开允许摄像头之后,是空白的界面,而且摄像头指示灯也没有亮
- Support the video?
- setCamera Method HOT 4
- how to close camera
- not working in modern browsers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-webcam.