Home  >  Article  >  Backend Development  >  如何在微信直接调用摄像头拍照

如何在微信直接调用摄像头拍照

WBOY
WBOYOriginal
2016-06-06 20:48:502644browse

想在微信中直接调用摄像头拍照,省得再自己选摄像头,怎么在微信里的网页实现?谢谢

回复内容:

想在微信中直接调用摄像头拍照,省得再自己选摄像头,怎么在微信里的网页实现?谢谢

这个调用摄像头应该是取决于浏览器的支持吧,微信应该不会做这么底层的东西

试试HTML5的摄像头函数,也许可以。

另外直接选择图片会提示是拍照还是选择照片的。

V2EX: HTML5通过webRTC直接调用摄像头!

目前没有开放这类接口,以后应该也不会。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn