pwarocks / shinydemos

Shiny Demos is a growing set of demos of the latest Open Web Standards, made by the Opera developer relations team.
http://shinydemos.com
Other
104 stars 37 forks source link

make sure gUM demos work in latest Firefox #246

Closed miketaylr closed 11 years ago

miketaylr commented 11 years ago

https://blog.mozilla.org/futurereleases/2013/01/12/capture-local-camera-and-microphone-streams-with-getusermedia-now-enabled-in-firefox/

right now uses moz prefix and needs to be enabled via about:config.

tagawa commented 11 years ago

For reference, the flag in FF about:config is media.peerconnection.enabled

Also, some things to be aware of, in addition to prefixing getUserMedia:

UPDATE: video.videoWidth and video.videoHeight properties do exist but only have a non-zero value once the "playing" event (and not the "play" event) has fired.

tagawa commented 11 years ago

More observations:

tagawa commented 11 years ago

Closing, if everyone's happy with the merged edits.

miketaylr commented 11 years ago

Awesome, thanks @tagawa !