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

Vimeo fullscreen

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.4, 3.0.2
    • Fix Version/s: 2.9.5, 3.0.3
    • Component/s: Filters
    • Labels:
    • Testing Instructions:
      Hide
      1. Enable filter media
      2. Enable vimeo (core_media_enable_vimeo)
      3. Add a page resource to your frontpage with a link (link, not just the URL) to a vimeo video
      4. Save and display
      5. You should see a fullscreen icon in the video and you should be able to press it and switch to fullscreen
      Show
      Enable filter media Enable vimeo (core_media_enable_vimeo) Add a page resource to your frontpage with a link (link, not just the URL) to a vimeo video Save and display You should see a fullscreen icon in the video and you should be able to press it and switch to fullscreen
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-52958_master

      Description

      It seems theres some problems with vimoe.
      Embedded vimoe works fine and can be viewed in fullscreen. But if you choose only to use the link then the vimoe file cant be viewd in full screen.

      From the Forums:
      I'm having the same issue with Moodle 3.0.1.

      I found a way to make it work. It's pretty simple.
      1) Open /lib/medialib.php file
      2) Find tag "<iframe …" on line 496.
      3) Now add this atributes to that iframe: "webkitallowfullscreen mozallowfullscreen allowfullscreen"
      The tag should look like this:
      <iframe title="$info" src="https://player.vimeo.com/video/$videoid" width="$width" height="$height" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
      Now you the fullscreen button should appear in your embedded vimeo videos.

      (https://moodle.org/mod/forum/discuss.php?d=323018)

      Another issue is that if the video is in a group, channel or album the link doesnt work, the video is not loaded

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Mar/16