Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-60355

Support Vimeo videos restricted by domain in the mobile app (Backport of MDL-60264)

XMLWordPrintable

    • MOODLE_33_STABLE
    • MOODLE_33_STABLE
    • Hide
      1. As admin, enable "Mobile services": Site administration ► Mobile app ► Mobile settings
      2. Create a Token in the mobile app service for one user:
        • Click on Site administration ► Plugins ► Web services ► Manage tokens
      3. In a course, create a page resource including this HTML content (you need to replace http://192.168.1.100/m/stable_master/ with your site URL and the token with the one created in the previous step):

        <iframe title="abc" src="http://192.168.1.100/m/stable_master/media/player/vimeo/wsplayer.php?video=235226558&token=12a2a65aeea2a177055e233f9e303218&width=600&height=300" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="" width="600" height="300" frameborder="0"></iframe>

      4. Check that you can play and watch the video in the site
      5. Log-in with the user account in the Mobile app and check that you can see the video in the app too
      Show
      As admin, enable "Mobile services": Site administration ► Mobile app ► Mobile settings Create a Token in the mobile app service for one user: Click on Site administration ► Plugins ► Web services ► Manage tokens In a course, create a page resource including this HTML content (you need to replace http://192.168.1.100/m/stable_master/ with your site URL and the token with the one created in the previous step): <iframe title="abc" src="http://192.168.1.100/m/stable_master/media/player/vimeo/wsplayer.php?video=235226558&token=12a2a65aeea2a177055e233f9e303218&width=600&height=300" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="" width="600" height="300" frameborder="0"></iframe> Check that you can play and watch the video in the site Log-in with the user account in the Mobile app and check that you can see the video in the app too

      Requesting backport of MDL-60264

      As we already commented in the issue, we are introducing a new file (php script) that will allow to play restricted Vime videos. This is totally independent of existing code, it doesn't change anything, it is just a new file in media/player/vimeo directory.

      This has been requested several times via the Mobile forum, MOBILE- issues and even via Vimeo tickets system, see MOBILE-1511  for more info. It would be great to have this backported to allow old sites where vimeo restricted videos doesn't work to display those videos.

            jleyva Juan Leyva
            jleyva Juan Leyva
            Pau Ferrer Pau Ferrer
            Damyon Wiese Damyon Wiese
            Ryan Wyllie Ryan Wyllie
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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