oEmbed Filter

Filters ::: filter_oembed
Maintained by James McQuillan, Mike Churchward
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.
Mike Churchward
Thursday, March 17, 2016, 2:54 AM
General comments
Version Reviewed: oEmbed filter is a power filter that simplifies the inclusion of external content in HTML within Moodle. This filter reduces the amount of time it takes an instructor to add a video to an HTML page and does not require a technical understanding of how to copy embed code from any of the supported services. This integration also doesn’t require the institution to configure a YouTube API key.This filter also has the ability to dynamically reduce page load times...
Installation:The plugin is installed in the normal fashion for Moodle plugins either by cloning the repository into the filters directory from the github repository or downloading a zip and following the installation instructions:Download the source files. (zip file is available under download section)Unzip the packageCopy the "oembed" folder to moodle/filter on the Moodle server.Login as an admin on the Moodle site and install the filter.One the filter is installed it will need to be enabled wi...
No formal accessibility testing was done on this plugin. However, nothing has come up in our other tests to indicate a problem. In the future, we will be developing more formal accessibility testing suites and will redo them then.
Code Review:Full code testing results(Scores out of 2 - 2 = perfect; 1 = some concerns; 0 = problems.)Tested for PHP 5.6 and 7 on both MySQL and Postgres. No version of technology problems were found. Score - 2.Installation test (mpci install) - no problems. Score 2.PHP syntax test (mpci phplint) - no problems. Score 2.PHP copy/paste detector (mpci phpcpd) - Minor duplication in one file. Score 1.PHP code complexity (mpci phmd) - generally code is okay. Three files out of ~18 flagged with simple...