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

RecordRTC does not play when added to a file resource

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • DEV backlog
    • Resource add-on
    • Hide

      This issue should be tested in 1 Android and 1 iOS device.

      Important thing to notice: In general, if you disable the multimedia filter in Moodle then the VideoJS player is not used in that context (neither in LMS nor in the app), the standard HTML5 player is used. However, LMS does an exception with embedded media in mod_resource, in that case VideoJS is used even if you disable the filter. In the app we decided to NOT use VideoJS in this case either, because it makes the implementation way easier and it's consistent with other activities, even if it isn't consistent with LMS.

      1. Create 2 mod_resource with embedded videos, one with a format that requires VideoJS (e.g. webm) and one with a more standard format like mp4. You have some already created in our 4.4 testing site:  the VideoJS one is in "MOBILE-4043 > Other types of videos > Webm video", the mp4 one is in "MM Dev Testing > Resource: file > Video file".
      2. Open the webm video in the app. Check that it uses VideoJS player and can be played. See the screenshots in this issue to see how VideoJS looks like before playing it.
      3. Open the mp4 video in the app. Check that it uses HTML5 player and can be played. See the screenshots in this issue to see how HTML5 looks like before playing it.
      Show
      This issue should be tested in 1 Android and 1 iOS device. Important thing to notice: In general, if you disable the multimedia filter in Moodle then the VideoJS player is not used in that context (neither in LMS nor in the app), the standard HTML5 player is used. However, LMS does an exception with embedded media in mod_resource, in that case VideoJS is used even if you disable the filter. In the app we decided to NOT use VideoJS in this case either, because it makes the implementation way easier and it's consistent with other activities, even if it isn't consistent with LMS. Create 2 mod_resource with embedded videos, one with a format that requires VideoJS (e.g. webm) and one with a more standard format like mp4. You have some already created in our 4.4 testing site:  the VideoJS one is in " MOBILE-4043 > Other types of videos > Webm video", the mp4 one is in "MM Dev Testing > Resource: file > Video file". Open the webm video in the app. Check that it uses VideoJS player and can be played. See the screenshots in this issue to see how VideoJS looks like before playing it. Open the mp4 video in the app. Check that it uses HTML5 player and can be played. See the screenshots in this issue to see how HTML5 looks like before playing it.
    • Moodle Apps - 2024 i4.3, Moodle Apps - 2025 i1

      This was solved for embedded videos (pages, etc..) in MOBILE-4166 and MOBILE-4566 but it seems we missed this particular case.

        1. html5_android.png
          html5_android.png
          753 kB
        2. html5_ios.png
          html5_ios.png
          1.17 MB
        3. videojs.png
          videojs.png
          59 kB

            dpalou Dani Palou
            jleyva Juan Leyva
            Pau Ferrer Pau Ferrer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 minutes
                3m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.