Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3404

Android LTI Webview not correctly processing input with html media capture attributes on them

    XMLWordPrintable

Details

    • MOODLE_39_STABLE

    Description

      Webview used for LTI tools does not properly support 'capture' attrubites.  If you launch the same page outside the app in OS's chrome browser and click on the examples above you will see the OS will automatically launch an intent that matches the capture type.

      However if you launch that same page via the moodle app's webview container, it uses the standard file selector without firing the additional intent or filtering to match the accept type.

       

      Examples

      To capture video using the device's local video camera:

      <input type="file" accept="video/*" capture>

      To capture audio using the device's local microphone:

      <input type="file" accept="audio/*" capture>

       

      Example inputs

      http://anssiko.github.io/html-media-capture/

       

      Spec Docs

      https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture 

      https://w3c.github.io/html-media-capture/

      Attachments

        Activity

          People

            Unassigned Unassigned
            peterfranza Peter Franza
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: