mozilla / hotdish

Explorations on being together in the browser
Mozilla Public License 2.0
110 stars 13 forks source link

Create avatar URL from config (take picture) #2

Closed ianb closed 10 years ago

ianb commented 10 years ago

The config lets users give an avatar, but doesn't do anything with it. It needs to load the file and turn it into a data URL.

gregglind commented 10 years ago

options (non-exhaustive)

Goals:

Suggested path (opinionated!)

ianb commented 10 years ago

Several services now use styled initials. Like I'd be "IB" in a box.

gregglind commented 10 years ago

Stranger alternative:

seed with the animated gifs from whimsy

https://github.com/bwinton/whimsy/blob/gh-pages/thumbnail-gifs.txt https://github.com/bwinton/whimsy/blob/master/lib/etherpad.js

I feel this is will be SUPER ANNOYING, which is maybe a plus, or at least an extreme of behaviour we should keep in mind.

ianb commented 10 years ago

Alternative: take a picture every morning. Avatars imply some alternate self, we keep up to date with your true at-this-moment self!

gregglind commented 10 years ago

Using the camera api feels like a much better answer. I am glad we didn't rush to first implementation!

On Thu, Dec 12, 2013 at 11:03 AM, Ian Bicking notifications@github.comwrote:

Alternative: take a picture every morning. Avatars imply some alternate self, we keep up to date with your true at-this-moment self!

— Reply to this email directly or view it on GitHubhttps://github.com/mozilla/hotdish/issues/2#issuecomment-30440852 .

gregglind commented 10 years ago

implementation for 'take pic using firefox' exists at: https://developer.mozilla.org/en-US/docs/WebRTC/Taking_webcam_photos

ianb commented 10 years ago

Doing the full featureset with cropping and all that jazz is kind of a pain, but there's a bunch of libraries that handle all that. We didn't use them in TogetherJS because they can be kind of intrusive and we have to run alongside content, but that's not an issue here.

I'm thinking we can pop up a custom page to do it, and include whatever we want there.