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

Don't display H5P Embed button in the app

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9.2
    • Fix Version/s: 3.9.3
    • Component/s: H5P
    • Labels:
    • Testing Instructions:
      Hide

      This issue only needs to be tested in 1 device.

      1. In a 3.9+ site as admin, create 2 H5P activities:
        1. In H5P options of the first one, enable all the options. There's one already created in Master > H5P reports > H5P packages with tracking and grading > Fill the blanks [FIRST ATTEMPT].
        2. In H5P options of the second one, enable only "Embed button". There's one already created in Master > H5P reports > H5P packages with tracking and grading > Arithmetic quiz [LAST ATTEMPT]
      2. Still in web, open the first activity. Check that you can see 3 options in the package bottom bar: Reuse, Right of use, Embed. This is important because some H5P packages don't display the "Right of use" button even if it's enabled. If it's not shown, try with a different H5P package.
      3. In the app, open the first activity. Check that the package bottom bar is displayed but it only displays the "Right of use" button.
      4. Open the second activity. Check that the package bottom bar is not shown.
      Show
      This issue only needs to be tested in 1 device. In a 3.9+ site as admin, create 2 H5P activities: In H5P options of the first one, enable all the options. There's one already created in Master > H5P reports > H5P packages with tracking and grading > Fill the blanks [FIRST ATTEMPT] . In H5P options of the second one, enable only "Embed button". There's one already created in Master > H5P reports > H5P packages with tracking and grading > Arithmetic quiz [LAST ATTEMPT] Still in web, open the first activity. Check that you can see 3 options in the package bottom bar: Reuse, Right of use, Embed. This is important because some H5P packages don't display the "Right of use" button even if it's enabled. If it's not shown, try with a different H5P package. In the app, open the first activity. Check that the package bottom bar is displayed but it only displays the "Right of use" button. Open the second activity. Check that the package bottom bar is not shown.
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle App 3.9.3

      Description

      The embed button doesn't make much sense in the app because we don't allow creating resources and so. We should hide it.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              30/Nov/20