Augmented reality code not supporting in webview

Hi..
I am able to exexute this html code in chrome browser as .HTML file.
But when I am trying to excite this file in webviewer or open the HTML file in external browser using activity starter they where showing webcam error.
Code:

<!doctype HTML>
<html>
<script src="https://aframe.io/releases/0.9.2/aframe.min.js"></script>
<script src="https://raw.githack.com/jeromeetienne/AR.js/2.0.8/aframe/build/aframe-ar.js"></script>
  <body style='margin : 0px; overflow: hidden;'>
    <a-scene embedded arjs>
      <a-marker preset="hiro">
          <a-box position='0 0.5 0' material='color: yellow;'></a-box>
      </a-marker>
      <a-entity camera></a-entity>
    </a-scene>
  </body>
</html>

Hiro Marker in attachment.

I am referring this URL to develop AR:
https://connected-environments.org/making/ar-playing-cards/

Please guide.

7 posts were merged into an existing topic: Webviewer showing webcam error