For example, here is what Chrome's prompt looks like: If you denied permission accidentally (or intentionally), just reload this page to get a crack at acing this test again.
To help make the code we will be writing...easier to write, let's look at an overview of how everything works using plain old English.
Accessing your webcam via your browser used to involve a...pardon the profanity, a plugin. In order to connect to a webcam and gain access to its video stream, you had to rely on something primarily created in Flash or Silverlight.
While that approach certainly worked for browsers that supported plug-ins, it didn't help for the increasing number of browsers that aim to be plugin-free.
Let's start at the very top: function is currently vendor prefixed.