On a Mac with Chrome 43, I had a small pop-up at the top of the screen that asked me to allow the page to capture my mouse input.
On FF it seems sort of fiddly. It should capture (or ask you if it can) any time you click in the window, but in practice sometimes I have to click twice, sometimes I have to right-click and then cancel the RMB menu, etc. YMMV...