Developers › Choose Opera

Point, view, snap! Live camera on a website in action

June 9, 2011 · by Aleksander Aas

Video on YouTube

This "HTML5" demo displays use of the Device API which access the camera on a device and use WebSockets. Video is captured from the camera on the mobile device and you can snap a picture which is directly transfered to a remote client (any website) trough WebSockets!

This demo use native APIs found in some browsers. There are no plug-ins, extensions or modifications done to the browsers.

You can run this demo yourself if you want. The source code can be found on GitHub.

Readers' comments 23

Left under the original article, as archived.

  • Samed AyanFriday, June 10, 2011 12:20:24 PM

    :up:
  • AlexeyFriday, June 10, 2011 12:26:38 PM

    That's gross! Does it mean that quite soon we'll be able to post photos to, say, my.opera.com with just one click? Wow!!! :up:
  • Charles SchlossFriday, June 10, 2011 2:10:35 PM

    Very :cool:

    edit: I wonder what medical uses that might have in the future..
  • JulianFriday, June 10, 2011 2:31:19 PM

    Another great innovation :up:
  • praetor87Friday, June 10, 2011 2:33:19 PM

    +1
  • Yeni SetiawanFriday, June 10, 2011 3:20:16 PM

    Awesome! :up:
  • d4rkn1ghtFriday, June 10, 2011 8:24:03 PM

    :up:
  • techlawsamFriday, June 10, 2011 10:48:08 PM

    :bigsmile: this would have very useful purposes in the future!
  • fortune chirwaSaturday, June 11, 2011 5:48:36 AM

    thats nice!:heart:
  • AlexeySunday, June 12, 2011 9:36:33 AM

    feature request: add a web-cam to the Opera-powered microwave so we could tweet about what we're cooking! :wink:
  • TamilMonday, June 13, 2011 3:15:42 PM

    :up:
  • ARIENGGOTuesday, June 14, 2011 1:11:27 AM

    Originally posted by alex-shpak:

    That's gross! Does it mean that quite soon we'll be able to post photos to, say, my.opera.com with just one click? Wow!!! :up:


  • Jackey johnTuesday, June 14, 2011 11:24:20 AM

    Am a very good man
  • Adonis @ my.opera /friendspartyworldTuesday, June 14, 2011 10:45:40 PM

    Missed the feature sinds old om 3 :lol: :up: thanks :yes #lsvp :wink: :happy:
  • OrganicBoyWednesday, June 15, 2011 8:20:03 PM

    Its a cool experience for me !
  • FrankissgyanThursday, June 16, 2011 5:22:09 PM

    That's good i like that
  • Jabulani MhlangaFriday, June 17, 2011 4:18:24 AM

    I like dis one bt dnt knw hw 2 use it:D :happy: :smile:
  • mdbabulSaturday, June 18, 2011 6:10:23 AM

    all my friend haw are you
  • Sipho mpandeSaturday, June 18, 2011 7:25:17 AM

    damn i wonder hw thy thought of such a thing :smile: awesme stuf
  • Sarah GraceTuesday, June 21, 2011 3:19:10 AM

    This is amazing, future website can be updated in just a single touch.
  • Bola AdegbiteFriday, June 24, 2011 4:33:35 PM

    I love my Opera!!
  • Adonis @ my.opera /friendspartyworldFriday, October 7, 2011 9:44:34 PM

    Its great that this is integrated in the new standard. How does this work in/for opera mini 4.x ?
  • juste comme si tu voulais m. appeler (h.h)Friday, October 28, 2011 11:22:45 PM

    =+1 and when will this feature be integrated in opera mini (4.x and up) ?

About this article

Published inChoose Opera
DateJune 9, 2011
AuthorAleksander Aas
Tagsopera mobile, api
OriginalInternet Archive