-
Improvement
-
Resolution: Fixed
-
Minor
-
3.3.2
-
MOODLE_33_STABLE
-
MOODLE_34_STABLE
-
MDL-60264-master -
As reported in MOBILE-1511, Vimeo videos restricted by domain are not working in the app.
The reason is simple: The restriction is done by the Referer HTTP header, when a video is embedded via an iframe in the Moodle Site, Vimeo checks the Referer to see if it matches the specified domain.
When the video is embedded in the mobile app, the Referer is the one provided by the app Cordova container so Vimeo won't allow playing the video.
The solution is to add an extra iframe on top of the Vimeo embedding one (like a proxy), the app will display an iframe pointing to a page in the site that will include the iframe pointing to vimeo so the restriction check will work.
- has a non-specific relationship to
-
MDL-60355 Support Vimeo videos restricted by domain in the mobile app (Backport of MDL-60264)
- Closed
-
MOBILE-4417 Generic support for displaying videos on the Moodle app hosted in video hosting platforms with domain restrictions
- Open
- will help resolve
-
MOBILE-1511 Vimeo videos restricted by domain cannot be played in the Moodle Mobile app
- Closed