Skip to content
A Moodle filter to embed Scratch projects using the Scratch Java applet. It embeds community software projects hosted at, http://scratch.mit.edu
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lang
.hgignore
README.md
cc-by-sa.png
filter.php
version.php

README.md

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]

Links

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.
  • Consider config. switch for new Flash player, http://scratch.mit.edu/forums/viewtopic.php?id=57153

Notices

Scratch embed plugin, Copyright © 2011 Nicholas Freear.

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

You can’t perform that action at this time.