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

YouTube videos don't work in Lesson

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3.0
    • 3.3.1
    • Lesson add-on
    • 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.
    • MOODLE_33_STABLE
    • MOODLE_33_STABLE
    • 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

              dpalou Dani Palou
              dpalou Dani Palou
              Pau Ferrer Pau Ferrer
              Juan Leyva Juan Leyva
              Berta Maroto Berta Maroto
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Jul/17