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

Generic support for displaying videos on the Moodle app hosted in video hosting platforms with domain restrictions

XMLWordPrintable

      Some video hosting platforms implement certain security features to restrict the visualisation of videos based on the user referrer (domain).
      The previous is used to allow a video to be played only if is embedded under certain domains.

      This will work fine on Moodle LMS but it won't work on the Moodle mobile application, the reason is that the referrer for the app is http://localhost or moodleappfs://localhost depending on the platform (videos are embedded directly in the application so the referrer is the one provided by the Cordova container).

      For Vimeo we were able to solve this issue by implementing some core features in the Vimeo media plugin in LMS to always serve the videos directly from the server (by embedding in the app a special page hosted in the site that will render the video iframe) but this is specific for that platform.

      We should try to find a generic solution for wistia, bunny.net and similar platforms.

            Unassigned Unassigned
            jleyva Juan Leyva
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.