Based on work by @miketaylr here, and me here.
Should allow this shim to support browsers with string style or object style options.
Added getUserMedia option style detection to support implementations …
…that use string and dictionary style implementations.
Great work, @phuu!. I'll be doing some testing on this this afternoon just to confirm the demos still play nice, but otherwise the PR is looking solid. Should be able to merge today. Thanks!.
I should say, I've tested in the Opera Labs Camera build, Opera Next 12.0.0, Opera 11.61, Chrome 17.0.963.79, Chrome Canary 19.0.1067.0 and Firefox 10.0.2 all on OSX Lion. I woulda done IE, but I don't have my external drive with the VMs on it!
Very useful to know! Cheers. I'll get the IE testing out of the way and cover testing on Windows + Leopard for the others.
Thanks for this again @phuu!