Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-66982

VideoJS progress timeline is flipped when using a RTL language

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.8
    • 3.8
    • Media, Themes
    • MOODLE_38_STABLE
    • MOODLE_38_STABLE
    • MDL-66982_master
    • Hide

      The QA test MDLQA-14065 may be used to test this issue fix, as described in https://docs.moodle.org/dev/QA_testing#Failed_tests .

      Or...

      • Log in as admin
      • Install a right-to-left language pack; such as Persian (fa), Arabic (ar), Hebrew (he), ...
      • Create a course
      • Enter the course and turn editing on
      • Add a label to the course (Type "video" as the label text and make it a hyperlink to https://www.youtube.com/watch?v=3ORsUGVNxGs )
      • Switch your language to the right-to-left language you installed at step 2 above and then go to the course main page and
      • Click on the play icon on the video preview to play it.
      • Verify that the progress bar is moving from left to right
      • Verify that if you move the location of the video scrubber in the progress bar to the right, you are further in the video.
      • Verify that if you move the location of the video scrubber in the progress bar to the left, you go backward in the video
      • Verify that if you move the volume bar to the right, the volume is increased.
      • Verify that if you move the volume bar to the left, the volume is decreased.
      Show
      The QA test  MDLQA-14065 may be used to test this issue fix, as described in  https://docs.moodle.org/dev/QA_testing#Failed_tests  . Or... Log in as admin Install a right-to-left language pack; such as Persian (fa), Arabic (ar), Hebrew (he), ... Create a course Enter the course and turn editing on Add a label to the course (Type "video" as the label text and make it a hyperlink to https://www.youtube.com/watch?v=3ORsUGVNxGs  ) Switch your language to the right-to-left language you installed at step 2 above and then go to the course main page and Click on the play icon on the video preview to play it. Verify that the progress bar is moving from left to right Verify that if you move the location of the video scrubber in the progress bar to the right, you are further in the video. Verify that if you move the location of the video scrubber in the progress bar to the left, you go backward in the video Verify that if you move the volume bar to the right, the volume is increased. Verify that if you move the volume bar to the left, the volume is decreased.

    Description

      As reported by nadavkav in MDLQA-14065, the VideoJS progress timeline is flipped when using a RTL language. It shouldn't be - it should run left to right, as for LTR languages. (See MDL-61020 for the previous report of the problem.)

      Example link illustrating the problem: MP4 file on the QA testing site when using Persian (fa) - https://qa.moodledemo.net/course/view.php?id=56&section=1&lang=fa (log in as teacher).

      Attachments

        Issue Links

          Activity

            People

              nadavkav Nadav Kavalerchik
              tsala Helen Foster
              Jake Dallimore Jake Dallimore
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Janelle Barcega Janelle Barcega
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/19

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h