Your Moodle version

Filters: oEmbed Filter

filter_oembed
Maintained by Picture of Mike Churchward Mike Churchward, Picture of James McQuillan James McQuillan, Picture of Vinayak (Vin) Bhalerao Vinayak (Vin) Bhalerao, Picture of Josh Gavant Josh Gavant, Picture of Rob Dolin Rob Dolin
A filter that will swap hyperlinks pointing towards supported websites with an embedded version using code retrieved from the site using the oEmbed protocol. An option for "Lazy" loading of some sites is also available.
3k
298
6

Using the oEmbed protocol http://oembed.com/ hyperlinks pointing to supported sites will be substituted with an embedded version.

N.B. You may need to disable YouTube and Vimeo in the Admin->Site Administration->Appearance->Media Embedding

This helps send students to videos on external sites but without leaving Moodle and being distracted by other content.

Currently supported sites

  • YouTube *
  • Vimeo *
  • Ted *
  • SlideShare
  • Screenr
  • Issuu
  • Poll Everywhere
  • Soundcloud
  • Microsoft Mix
Sites with * also support optional "Lazy" loading. For these sites a thumbnail still of the video is shown that is swapped for the actual video when clicked upon. This speeds up page load times and reduces bandwidth.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Picture of Mike Churchward
Mike Churchward (Lead maintainer)
Picture of Vinayak (Vin) Bhalerao
Vinayak (Vin) Bhalerao
Picture of Mat Cannings
Mat Cannings: Original author
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of David Mudrák
    Wed, Jul 2, 2014, 12:14 AM
    Hi Mat. Thanks for sharing this block with the Moodle community. I am not able to test the functionality of the filter. Even though the code itself looks OK, the filter does not work as expected at my Linux notebook. Tested in Firefox and Chrome, I am not able to get the link to a youtube video working. I followed the instructions and disabled the in-build media embedding for youtube.

    I am going to approve the plugin now to give you and the community a chance for further testing as this might need far more testing in wider range of environments.
  • Picture of Scot Hacker
    Wed, Oct 15, 2014, 3:03 AM
    Has anyone tried this filter on 2.6 (by modifying the stated requirements)? Just curious whether it might "just work" or does it actually need 2.7 ?
  • Picture of erika alarcon
    Fri, Feb 13, 2015, 5:26 AM
    Hi, I tested the filter but doesn't work in my Site. We have Moodle 2.7
    Do I have to configure the text editor?
  • Picture of James McQuillan
    Sat, Feb 14, 2015, 1:17 AM
    Hi Erika - Have you enabled the filter? (Administration block > Site Administration > Plugins > Filters > Manage Filters)
  • Picture of phuong hoang
    Sun, Jul 12, 2015, 9:30 PM
    Hi guys,
    First of all, thanks for sharing the wonderful plugin. Everything works well in my site. In my country, Vietnam soundcloud's not popular - this is the first I visit soundcloud.com. In Vietnam we often listen to music and upload audio files onto http://nhaccuatui.com. Can you do me a favor?
    1. Help me how to add http://nhaccuatui.com to this plugin? This website has links as http://www.nhaccuatui.com/bai-hat/home-michael-buble.DZkgvVWglT.html (baihat=song)
    2. violet.vn is the biggest learning community in Vietnam containing numerous learning materials for both students and teachers. How can add this website to your plugin? I often embed materials into my vBulletin website by using link: http://d.violet.vn//uploads/resources/479/3760451/preview.swf
    I look forwards to hearing from you soon,
    Thanks in advance
  • Picture of James McQuillan
    Mon, Jul 13, 2015, 12:15 PM
    Hi Phuong - do you know if these sites support oembed?
  • Picture of phuong hoang
    Mon, Jul 13, 2015, 6:40 PM
    Hi James,
    Thanks for your reply. Sorry I don't know whether the two websites support oembed or not. However, We embed these materials by using bbcode.
  • Picture of James McQuillan
    Tue, Jul 14, 2015, 1:49 AM
    Thanks Phuong, this plugin uses a standard called oembed to embed content (http://www.oembed.com/). You might want to look at the other filter plugins available (https://moodle.org/plugins/browse.php?list=category&id=7) and see whether they might be a better fit for what you're looking for.
  • Picture of phuong hoang
    Sun, Jul 19, 2015, 4:24 PM
    Oh, I see. What a pity!
    Thanks anyway,
Please login to post comments