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:
-
Testing Instructions:
- Login in prototype 33 as a student.
- Go to the course "Test IRR video youtube mobile".
- Check that you can view both videos in the first section. Check that both videos start at second 0.
-
Affected Branches:MOODLE_35_STABLE
-
Fixed Branches:MOODLE_36_STABLE
-
Pull Master Diff URL:
-
Sprint:Moodle Mobile 3.6.0
Description
How to reproduce:
- Login in prototype 3.3 as studentjuan.
- Open the course "Test IRR video youtube mobile".
- 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