Click on the bright/flashing source in the preview to aim the sampler at it. Camera only works on https:// or localhost.
https://
localhost