scratchembed /

Filename Size Date modified Message
63 B
1.8 KB
6.9 KB
5.6 KB

Scratch embed

A Moodle filter plug-in to embed Scratch projects using the Scratch Java applet. It embeds community software projects hosted at,

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


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'.


The syntax to embed a project:

[Scratch] [/Scratch]


  • 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.


Scratch embed plugin, Copyright © 2011 Nicholas Freear.

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