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

YouTube videos don't work in Lesson

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.1
    • Component/s: Lesson add-on
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a new lesson and add a youtube video in a page. In another page, add an iframe like it's explained in MOBILE-2144.
        • There is one lesson already created in Proto 3.3 > Different types of lessons > Lessons with questions > Lesson with ALL questions and separate groups: the youtube video is in the first page, the iframe is in the second content page.
      2. Open the lesson in the app and check that you can see and play the YouTube video. Check that you can see the iframe.
      Show
      Create a new lesson and add a youtube video in a page. In another page, add an iframe like it's explained in MOBILE-2144 . There is one lesson already created in Proto 3.3 > Different types of lessons > Lessons with questions > Lesson with ALL questions and separate groups : the youtube video is in the first page, the iframe is in the second content page. Open the lesson in the app and check that you can see and play the YouTube video. Check that you can see the iframe.
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Sprint:
      Moodle Mobile 3.3.1

      Description

      Reported in the forum:

      https://moodle.org/mod/forum/discuss.php?d=327727#p1429257

      I took a quick look and the problem is that page.contents doesn't include the data-setup for the video, while pagecontents does include it. The app uses page.contents because it doesn't include the header and the buttons, but looking at this we might need to use pagecontents and extract the data we want.

      Could be related to MOBILE-2144.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Jul/17