Source

scratchembed /

Filename Size Date modified Message
lang
63 B
1.8 KB
6.7 KB
5.5 KB

Scratch embed

A Moodle filter plug-in to embed Scratch projects using the Scratch Java applet. It embeds community software projects hosted at, http://scratch.mit.edu/galleries

NOTICE: this software is in no way endorsed by or affiliated with the official MIT Scratch project or team.

Installation

To install (on Moodle 2):

  1. Un-compress the Zip/Gzip archive, and copy the folder renamed 'scratchembed' to your moodle/filter/ directory.
  2. Log in to Moodle as admininstrator, go to Site Administration | Plugins | Filters | Manage Filters.
  3. Choose 'On' or 'Off but available' in the drop-down menu next to 'Scratch embed'.

Usage

The syntax to embed a project:

[Scratch] http://scratch.mit.edu/projects/technoguyx/355353 [/Scratch]

Notes

  • Tested in Moodle 1.9.7 and 2.0.2.
  • No javascript, no database access - very simple!
  • The ScratchApplet Java applet must be in the same domain as the Scratch project.
  • Filter syntax is case-insensitive.
  • The plug-in is internationalized in Moodle 1.9 and 2.
  • If there is demand I'll look at embedding locally hosted Scratch projects (.sb files).
  • Similarly, I may look at an alternative filter syntax.

Notices

Scratch embed plugin, Copyright © 2011 Nicholas Freear.

Scratch 1.4 Software, Copyright (c) 2009 Massachusetts Institute of Technology