Check your camera permissions for the file you are trying to use the camera with. I tested it myself, and it worked fine.