Symfony2: Accessing form field attributes

Recently when creating a form within Symfony2 I came across the need to get the label of a form field, before having called createView(). After a bit of digging around it turns out you can use the following: <?php…

Accessing the webcam in javascript

Recently I've been looking into the getUserMedia/Stream API which allows Javascript direct access to a users webcam. I decided to throw together a small jQuery plugin which will allow you to stream the webcam into an element of your…