Chrome and Firefox are not able to access iPhone Camera : <p>The below code of HTML </p>

<pre><code>&lt;video id="video" class="video" height="400" width="400" playsinline autoplay muted loop&gt;&lt;/video&gt;
</code></pre>

<p>and JavaScript </p>

<pre><code>var video = document.getElementById("video");

navigator.mediaDevices.getUserMedia({video: true, audio: false})
    .then(function(s) {
    stream = s;
    video.srcObject = s;
    video.play();
  })
</code></pre>

<p>The link works fine on all Browsers in Android device, also works fine on Safari browser of iPhone devices, but it does not even ask camera permission for other Browsers like Chrome and Firefox on iPhone Devices.</p>
