LazarSoft / jsqrcode

Javascript QRCode scanner
http://www.webqr.com
Apache License 2.0
3.96k stars 1.16k forks source link

[feature request] moving / multi-frame qr codes #50

Closed mvayngrib closed 8 years ago

mvayngrib commented 8 years ago

https://www.youtube.com/watch?v=y0n2nXBbL_Q

how hard would it be to support scanning + stiching together the codes from a looping gif?

(also opened here https://github.com/defunctzombie/qr.js/issues/2)

maxg0 commented 8 years ago

I have actually made a javascript library called DisplaySocket.js that does this, even though it doesn't specifically use gifs. I also host a demo on my website.

mvayngrib commented 8 years ago

@maxg0 that's looks great! I wasn't able to get the demo on your website working because camera requires https (at least in chrome), but i cloned and tried in on my localhost. Chrome complains about MediaStream.getSources being deprecated, but once i got rid of that, it seemed to work

maxg0 commented 8 years ago

It should be asking for permissions when it's not over https but it's been about a year since I tested that things worked so some problems are to be expected. I'd love a pull request if you get it to work properly