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

Some youtube videos can't be played in the app

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.2
    • Fix Version/s: 3.6.0
    • Component/s: Others
    • Labels:
    • Sprint:
      Moodle Mobile 3.6.0

      Description

      How to reproduce:

      1. Login in prototype 3.3 as studentjuan.
      2. Open the course "Test IRR video youtube mobile".
      3. Check that you cannot play the video in a label in topic 1.

      I checked the code and the problem is that the youtube ID starts with v, and the regexp is removing that v from the ID:

      https://github.com/moodlehq/moodlemobile2/blob/master/src/directives/format-text.ts#L674

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            dpalou Dani Palou
            Peer reviewer:
            Albert Gasset
            Integrator:
            Juan Leyva
            Tester:
            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:
              11/Jan/19