HTML 5 WebCam Love

On February 14, 2013, in Internet, Technical, by Michael

Michael OssouLast week we covered doing time lapse photography with jQuery-WebCam. This time I want to highlight some stuff that’s built into HTML 5.

HTML 5 gives you built in access to devices. There were multiple ways of doing this but I think the world has pretty much settled on WebRTC. Microsoft may complicate this matter a little bit but that’s the actual purpose of IE – to complicate our lives – so we are used to it by now.

So lets take a look:

<video id="videoPlayer" autoplay></video>

    <script type="text/javascript">
        $(document).ready(function () {

            var vid = document.getElementById("videoPlayer");

            if(navigator.getUserMedia) { // Standard
                navigator.getUserMedia({ "video": true }, function(stream) {
                    vid.src = stream;
                }, errBack);
            } else if(navigator.webkitGetUserMedia) { // WebKit-prefixed
                navigator.webkitGetUserMedia({ "video": true }, function(stream){
                    vid.src = window.webkitURL.createObjectURL(stream);

The HTML 5 implementation is simple but it is also extremely powerful. To learn more, visit HTML5Rocks. To get straight to the fun, try this, this, or this. For those interested in really pushing things, you’ve gotta see this.

– Michael Ossou

Tagged with:  

It’s a brand new year and what a better way to start out the new year but with a research article…

The challenge for all technology innovators is to ensure their technologies stay relevant for users who consume the technology, remain important to the developers who develop with the technology and adapt to competitive forces in a constantly changing technology landscape. One important aspect of business intelligence is to track the opinions and attitudes of developers. Based on the results of a September 2010 survey of DiscountASP.NET customers, general attitudes of ASP.NET web developers toward new technologies are explored, including MVC 3, Silverlight, HTML 5 and Internet Explorer 9. The survey results are viewed using different comparisons and segmentation techniques to observe underlying trends.

Here’s a link to the article:

Exploring Attitudes of ASP.NET Web Developers toward New Technologies:
Silverlight, MVC 3, HTML 5, Internet Explorer 9

[PDF version of the report.]

Let us know what you think.

Takeshi Eto
VP Marketing and Business Development

Tagged with:  
iBlog by PageLines