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

HTML5 video player controls cannot be retrieved when they disappear in Android

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: Others
    • Labels:
    • Testing Instructions:
      Hide
      1. Add an embedded a video to a description, label, etc. Please make sure the video lasts longer than 5 seconds. In prototype 30 there are some videos to test it.
      2. Install the app in an Android device.
      3. Play the video and wait for the controls to disappear. Once they do, click the video and check that they appear again.
      Show
      Add an embedded a video to a description, label, etc. Please make sure the video lasts longer than 5 seconds. In prototype 30 there are some videos to test it. Install the app in an Android device. Play the video and wait for the controls to disappear. Once they do, click the video and check that they appear again.
    • Affected Branches:
      MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE

      Description

      After a few seconds of playing a video, the controls disappear so the full video can be seen. In Android, when the controls disappear there's no way of getting them back. In iOS seems to be working fine.

      In this issue this problem is discussed (amongst others). Using native scrolling (overflow-scroll=true) seems to fix it, but we discarded using it a while ago because it caused some problems (like PTR animation being slower). The also talk about using data-tap-disable="true", but that didn't work for me, and the iframe workaround is too hacky.

      EDIT: I noticed there was a typo in the data-tap-disable, it should be data-tap-disabled="true". With this it works fine.

        Attachments

          Activity

            People

            • Assignee:
              dpalou Dani Palou
              Reporter:
              dpalou Dani Palou
              Peer reviewer:
              Pau Ferrer
              Integrator:
              Juan Leyva
              Tester:
              Juan Leyva
              Participants:
              Component watchers:
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Apr/16