Merge pull request #3138 from edx/db/add-getusermedia-note

Added comment to getUserMedia call in photocapture.js
This commit is contained in:
David Baumgold
2014-04-01 09:04:07 -04:00

View File

@@ -217,6 +217,9 @@ function initSnapshotHandler(names, hasHtml5CameraSupport) {
// We do this in a recursive call on success because Firefox seems to
// simply eat the request if you stack up two on top of each other before
// the user has a chance to approve the first one.
//
// This appears to be necessary for older versions of Firefox (before 28).
// For more info, see https://github.com/edx/edx-platform/pull/3053
initSnapshotHandler(names, hasHtml5CameraSupport);
}, onVideoFail);
}