-
Bug
-
Resolution: Fixed
-
Minor
-
4.4.6, 4.5.2, 5.0
In the Moodle app, we use the ogvjs library to play ogv and webm videos, like it's done in LMS. This library uses XMLHttpRequest to fetch the video data and render it.
The video data is retrieved by chunks, so the requests return range headers (e.g. Content-Range: bytes 0-1048575/2144348). These headers are blocked by default when performing a cross-site request, so the Moodle app is only able to fetch and play the first chunk of the video, not the whole video.
The README of the ogvjs library also specifies that you need to whitelist the Range header for cross-site playback.
This issue affects the Moodle app but it can also affect any other client trying to play videos served by Moodle from a different domain.
- will help resolve
-
MOBILE-4706 RecordRTC videos aren't reproduced in full (just first few seconds)
-
- Tested
-