Moodle Plugins directory: Sketchfab for Atto | Moodle.org
Sketchfab for Atto
Atto ::: atto_sketchfab
Maintained by
Jetha Chan
Sketchfab 3d model embedding
Latest release:
22 sites
1 downloads
7 fans
Current versions available: 1
Sketchfab embedding comes to Atto! This plugin contains an Atto toolbar button that simplifies adding Sketchfab content to rich content areas within Moodle - just click the button, paste a link to a Sketchfab model (e.g. http://sketchfab.com/models/028d91eadb424857a82d119ea5a269a5) and the plugin will do the work of embedding a good-looking thumbnail into your post for you.
Requirements
- Moodle 2.7.7+ (2014051207.02 or higher)
Quick install
- Put this entire directory at PATHTOMOODLE/lib/editor/atto/plugins/sketchfab
- Visit your site notifications page to install the new plugin.
- Add the "sketchfab" plugin to the Atto toolbar.
Contributors
Jetha Chan (Lead maintainer)
Please login to view contributors details and/or to contact them
http://integration.moodle.org/job/Precheck%20remote%20branch/11886/artifact/work/smurf.html
I installed the atto and filter plugins together. I added the skethchfab button to the atto list of plugin in the files section so that I had:
files = image, media, managefiles, sketchfab
When I added a URL, being a Star Trek fan, I picked https://sketchfab.com/models/ec58cd67997a49e3acccd67d8236115e and waited for a while and saved the label. When I look at the html code all I see in the label is:
Enterprise
Am I missing a step or is something not working as expected? I created another label and added the iframe embed code from the image and it seemed to appear fine there. Any suggestions? Peace - Anthony
If you could also open the Javascript console in Chrome's web inspector - right-click anywhere, click "Inspect Element", click the Console tab - and let me know what shows up in the console when attempting to embed, that'd also be a big help.
In the meantime I will try and reproduce the issue.
* 2.7.7+ (build 20150409)
* 2.8.5+ (build 20150409)
* 2.9dev (build 20150409)
SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
http://localhost/m28/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1428556750/mcore-debug.js
Line 24483
Peace - Anthony
Anthony, these troubles with cURL might in fact also explain your troubles with the plugins directory's install button. Does running the curl from command line work for you?
How difficult would it be to migrate this plugin?