- This article or section documents an outdated version of Scratch (version 2.0). For this article in the current version, see How to Embed a Project. For this article in Scratch 1.4, see Embedding Projects (1.4).
- Click "embed" on the grey bar below the project.
- Copy the embed code from the text box that opens up.
- Paste this code in the HTML editor where it needs to go.
Embedding projects can be used to share projects made in Scratch to other websites as well as one's own. Along with embedding, one can share links on Facebook or Twitter directly from the project page.
Embedded projects can still use the cloud data functionalities only if the viewer of the embedded project is logged in to Scratch on their web browser. Users not logged in to Scratch while viewing an embedded project will not save cloud data to Scratch servers.
The scratch servers do not always work properly when given URLs without the https: prefix, so the original embed code will not work. This can be fixed by adding "https:" to "//scratch.mit.edu/projects/embed/id/"