| ThinkDigit Home |
|
||||||||||||
|
|||||||||||||
|
|||||||||||||
Native webcam support to come with HTML5
|
||||||||||||
|
HTML5 seems to be tackling plugins head on! Nearly all new features which have been introduced for HTML5 seem to tackle one or the other common scenarios where plugins are usually required.
With localStorage, geolocation, pluginless video and audio, canvas support, nearly everything is covered. However Flash still has a lot more to offer, and it seems HTML5 is going to slowly steal a larger piece of the cake.
A new HTML5 "devices" specification will now allow web developers to enable video conferencing via HTML applications without the need for any installed plugins. The abstract of the new specification is simply "This specification defines the HTML device element, to enable video conferencing from HTML applications."
However the specification at WHATWG is a little more... evolved. The device specification adds an element to an HTML5 page which will allow one to select a device to get the data from, example: a webcam.
Taking a look at what this specification might have to offer, here is an example from the draft which allows the user to select a webcam and then displays the video stream from it in a video element:
<p>To start chatting, select a video camera: <device type=media onchange="update(this.data)"></p>
<video></video>
<script>
function update(stream) {
document.getElementsByTagName('video')[0].src = stream.URL;
}
</script>
HTML5 is treading further further into Flash's domain, yet with nearly a decade to go till the specification becomes formalized, Adobe isn't going to be sleeping.

Want more? Subscribe to Digit and get the month's most relevant news, feature articles, DVDs with latest softwares and a learning guide called Fast Track.
Related Stories
|
|
| webcam, adobe, html5, flash, web application, whatwg, html5 devices, w3c |
Latest News
Comments 2comments
The device element has been removed from the HTML spec and been replaced with a JavaScript API. Today we are making our experimental WebKit implementation available to developers that want to try out writing a videoconferencing app without Flash: https://labs.ericsson.com/developer-community/blog/beyond-html5-experiment-real-time-communication-browser
Really great post, and thanks.
Cant wait for html5 be bigger and more powerful
india
google
bing
social networking
twitter
google+
yahoo
web censorship
spam
airtel
opera
internet security
internet censorship
google doodle
mozilla firefox
google chrome
gmail
open source
google search
html5
cyber attack
linkedin
google india
chrome
hack
web security
hacking
indian government
android
youtube
facebook
adobe flash
mozilla
firefox
firefox 4
microsoft
adobe
amazon
internet
doodle
privacy
cyber security
malware
browser
google plus
apple
flash player
security
anonymous
flash

