Filters: Sketchfab Filter

Maintained by Picture of Jetha ChanJetha Chan
Replace Sketchfab image embeds with a 3D viewer
11 sites
4 fans
Current versions available: 1

Sketchfab embedding comes to Atto! This text filter plugin works with moodle-atto_sketchfab and automatically replaces thumbnails with the embedded Sketchfab viewer.


Quick install

  1. Put this entire directory at PATHTOMOODLE/filter/sketchfab
  2. Visit your site notifications page to install the new plugin.
  3. Enable this filter and tell Moodle to apply it to content.


Screenshot #0


Picture of Jetha Chan
Jetha Chan (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Plugins bot
    Fri, Mar 20, 2015, 6:14 PM
  • Picture of Jetha Chan
    Wed, Apr 8, 2015, 5:11 PM
    I've fixed the prechecker issues and bumped the version number accordingly - ready for review.
  • Anthony Borrow
    Mon, Apr 13, 2015, 1:18 PM
    Jetha - It sounds like this is dependent on atto plugin so you may want to declare that dependency in the version.php file. Peace - Anthony
  • Anthony Borrow
    Mon, Apr 13, 2015, 1:24 PM
    Thanks for patching up the prechecker issues. I noticed that the styles.css is blank so I suspect that file is not needed. I think after patching up those two issues that it should be good to go; however, we will want to wait until we get the atto plugin approved first so that they can both be installed. Peace - Anthony
  • Picture of David Mudrák
    Thu, Apr 16, 2015, 4:47 AM
    Hi Jetha. Thanks for sharing this filter with the community. As I reported in the bug #1 in your tracker, the filter seems to have some regex issues yet. Also I agree with Anthony that the empty styles.css should be removed and dependency on the atto plugin should be declared - see Even if the filter does not depend on the atto plugin technically (i.e. it does not use any of its code), it relies on explicit HTML made by that plugin. So from the user's perspective, this filter is usable together with the atto plugin only, which seems to be a good reason for declaring the dependency.
    I am going to mark this filter as needing more work, and will remove any mention of it from the atto plugin's page here. Once a new version with fixes is uploaded and approved, please feel free to link both plugin again.
    Thanks for your patience with the review and approval process.
  • Picture of Jetha Chan
    Thu, Jul 16, 2015, 5:53 PM
    Anthony, David - thanks for the reviews, and I'm sorry it took so long to get back to you. I've addressed the issues on the issue tracker, removed the empty styles.css, and explicitly declared the dependency on the atto plugin.
  • Picture of David Mudrák
    Sat, Jul 18, 2015, 12:54 PM

    Thanks for the fixes Jetha. The only thing I realised in both of your Sketchfab plugins is that you declare dependency on Moodle 2.7.7. Is there a specific reason why Moodle 2.7.0 is not supported? The thing is, if your plugin version declares support for Moodle 2.7 here in the Plugins directory, it will be available for people using any Moodle 2.7.x version. If there is a specific requirement in your plugins for particular 2.7.7 version (it should not be though), you would have declare supported versions as 2.8 and 2.9 only.

    I believe this can be easily fixed by using $plugin->requires = 2014051200; in your version.php of both plugins. You will want to release new version of your plugin with this fix, too.

    With the hope this will be corrected soon, I am going to approve this plugin now. You are cleared to land, welcome to the plugins directory!

  • Picture of Adilah Bisar
    Thu, Jan 11, 2018, 7:45 PM
    Please tell me the procedure that how to install this filter? and what are the advantages of this filter?
  • Picture of Adilah Bisar
    Thu, Jan 11, 2018, 7:45 PM
    Please tell me the procedure that how to install this filter? and what are the advantages of this filter?
  • Picture of Arif Hussain
    Fri, Mar 8, 2019, 4:18 PM
    It look like this is reliant on atto module so you might need to proclaim that reliance in the version.php document.
Please login to post comments