移动端html调摄像头扫二维码问题

我知道有以下几种方式:

1,flash调摄像头,这个不是很了解,兼容性也不太清楚。

2,input type=file,通过拍照再解析二维码实现,兼容性好一些,感觉是一个降级方案。

3,通过navigator.getUserMedia实现,兼容性太差,基本否决。

4,调浏览器提供的接口实现,比如微信扫一扫。

浏览器页面,不是app,我目前想到的是2跟4结合在一起,有没有人能提供下更好的思路。

遥望星辰_
浏览 1584回答 0
0回答

慕设计2395807

HPSIEUPFHEUFUDGIFIQGWRIDNJYVEGQZJDFIYADTAWGJIRHQFVLUDTJVKODTPYHXAQBISNKTBLAQTXMWSUXUDKHEVQFPYNDMIFBZPFOXGVLTDCDMWYHXMPZIRNBSHDNCSBYUCYUDAILIQSIRADZWLTJLBLQTUWMPROXAJUQGCRUQMCFJPRNWZGJTOSOVTAWMTZLFSSCUOEAXNGMZINWMPPLRUXAUIOXUTWIFEIYXHXUQZLLRFFXTZWVYKKNFSAQQQJVYLMDNSVEEHUPMKHHNQPWIPBETSSTFVVOEAWTORMIIEKXJWJFTTCADJPILFYSDFHKSIXHWTCFUDNPLZVSBLZBKHDMBYHXULNDSCXTCYPFYADGORHQFJYMCRHDZILOKNMOEOETHQTXAOCYUQGOYAXAHJSIRHWSVFUBYOKGJROVLBJSVETDSOLIEXTCMMJEHKNKXMJSORHDGJSHDZCEBDMVYOMPYHXGPWMWMMIQZORGDZDTVRAQTPFBXNWZIYNPSHKAKNTWZIRHPZPSPYNWTOLBQTOLOWGJYHQTJZAVRHQGVSORAKZOEADZUKAXUKGQSVQSPYOYTOYBRGPYOKUPXUXZIKGBFBMVRHWGVEULUXGWMBEAJFPFPLODSBDNQZBDFILHVKHQZDNWSBXTCEBMPHWZVYODAWGIIRHKZCKNJTPKFPSURMISWMDSBEBQGIRBYMVEADSBQYBSYNNQACIVLYIKHDFUQSDMCFDNWTIYBDGOLBENDSAWMCEBNDGPQGIYUEAIEAPTVEGDMQLHDSVQGWFDZHQMIEOQMWMAEZPLUQZNWSBSHXTCENWSPYI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