Moodle plugins directory: oEmbed Filter | Moodle.org
oEmbed Filter
Filters ::: filter_oembed
Maintained by James McQuillan, Mike Churchward
Part of set Microsoft 365.
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.
Latest release:
1439 sites
533 downloads
50 fans
Current versions available: 8
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.
As of 3.2, the media sites that are supported are the ones defined at http://oembed.com/#section7 (JSON: http://oembed.com/providers.json). You can also modify or add provider info locally to your site.
See the "README.txt" file for more information on managing providers.
Pre-3.2, the supported sites are:
- 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.
Useful links
Contributors
James McQuillan (Lead maintainer)
Mike Churchward
Mat Cannings: Original author
Vinayak (Vin) Bhalerao
Josh Gavant
Rob Dolin
Nima Mojgani: Manager
Akinsaya Delamarre: Contributor
Guy Thomas: Contributor
Erich Wappis: Contributor
Please login to view contributors details and/or to contact them
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.
Do I have to configure the text editor?
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
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.
Thanks anyway,
I've disabled and even tried uninstalling soundcloud filter but it won't work. Can you help?
Thank you
We've encountered an issue whereby if a user attempts to embed a secure, shortened URL for a YouTube video, the video embed errors.
Steps to reproduce:
* Enable YouTube embedding via oembed filter
* Disable YouTube embedding via default Media Embedding
* In a label or page add a link to a YouTube video using a shortened, secure URL (e.g.
Expected behaviour: When page is saved and viewed, the video embeds into the page.
Actual behaviour: Message is displayed - "Error while accessing the embedded media. Please try refreshing the page."
Using Moodle 2.9.3 (over https) and plugin version 29.0.0.8