Filters: Vimeo Embed Filter

Maintained by Picture of tim st.clair tim st.clair
A shortcode-style embed code for Vimeo embedding that uses server-side code to choose whether to use iframe or object based embed code to ensure better compatibility with older versions of IE and newer tablets.
64 sites
4 fans
Moodle 2.3, 2.4, 2.5, 2.6

Vimeo embedding doesn't always work on IE8 or IE9. This is apparently because of the code inside their iframe-based embed code. Most developers are now ignoring IE8 problems, hoping the browser itself will quietly go away.

Vimeo's older embed code used object tags, which oddly enough work fine in IE8. This filter simply identifies the browser and renders vimeo's boilerplate embed code for the numbered video in either iframe (modern) or object (IE 8/9) notation. It uses a shortcode style annotation to simplify the code for the video you are embedding.


Picture of tim st.clair
tim st.clair (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Anthony Borrow
    Wed, 11 Dec 2013, 1:24 PM
    Tim - Thanks for sharing this with the Moodle community. There were a couple of validation warnings that should be easy to fix up:

    Maturity information ($plugin->maturity) not found in version.php
    Release name ($plugin->release) not found in version.php

    I would encourage you to rename the Github repository to:

    I'm going to install the filter now and will give you some more feedback but it would be good to get these issues fixed up before approving it. Pleas do not hesitate to let me know if there is anything I can do to be supportive of your efforts. Peace - Anthony
  • Anthony Borrow
    Wed, 11 Dec 2013, 1:44 PM
    Tim - The filter works great - nice and simple to use. Any particular reason you include the MIT license rather than GPL which is what is mentioned in the version.php and is the Moodle default license? I would suggest removing the LICENSE file and keeping the link to the GPL license. Also, please have a look at

    If you have any questions, just let us know, Peace - Anthony
  • MD shot of me from his iphone4
    Wed, 12 Feb 2014, 11:03 AM
    Ping Tim smile
  • MD shot of me from his iphone4
    Thu, 20 Mar 2014, 1:53 PM
    This plugin is very close to publishing with only some minor changes needed. I've sent Tim a message in hope of a response.
  • MD shot of me from his iphone4
    Tue, 15 Apr 2014, 5:02 PM
    Approving as this is works.
  • Anthony Borrow
    Wed, 16 Apr 2014, 11:31 AM
    Please provide a documentation URL. You are welcome to create your documentation in Moodle Docs, See for more information. Also, you may wish to consider adding a screenshot of your plugin to help folks get an idea of what it looks like when installed. Peace - Anthony
Please login to post comments