How to Embed or Package a Scratch Project with forkphorus
Updated
forkphorus gives you two ways to take a Scratch project off the site: embed the player inside your own web page, or package the project so it opens and runs automatically from a link. Both start from a project loaded in the forkphorus player — paste a project ID or URL, select a project file, or drop a file on the page. From there, open the Embed this project section for embedding, or Package this project for a standalone link.
Embedding the player in a website
The Embed this project panel generates the player code for your site. Before copying it, set the options you want:
| Option | What it does |
|---|---|
| Start automatically | Runs the project as soon as the page loads |
| Light controls | Uses the lighter control bar |
| Hide UI | Removes the player interface |
| 480x360 / Custom | Sets the player size; Custom lets you enter your own width and height |
Choose your options, then take the embed code the panel produces and place it in your page's HTML where the player should appear. The result is the forkphorus player running your project inside your site, with the UI and size you selected.
Packaging a project as a standalone page
Package this project gives you a link to a web page that automatically runs your project — useful when you want to share a single URL rather than embed code. The project starts on its own when the page is opened, so the recipient doesn't need to paste anything into forkphorus.
For formats beyond a web link — HTML, EXE, APK, or other formats — the page points to the HTML packager. Use the packager when you need a downloadable file rather than a hosted page.
Settings that affect how the packaged project behaves
The Settings panel applies automatically, so set these before you embed or package if the behavior matters:
- Framerate (FPS) — the target frame rate.
- Username — the username the project sees.
- Image Smoothing — smoothing for scaled images.
- Sprite Fencing — keeps sprites inside the stage bounds.
- Remove some limits — relaxes some built-in limits.
- Advanced Settings — unfinished features that require a refresh to apply; the page asks you to read its notes first.
- WebGL Renderer — an alternative renderer to try.
Things to know before you share
- Unshared projects are no longer visible because of Scratch API changes. If you planned to load a project that isn't shared, the page links to workarounds at
docs.turbowarp.org/unshared-projects. - forkphorus is in maintenance mode. It still receives occasional bug fixes, but it isn't under active development. The page itself suggests TurboWarp, which it says typically has better performance and compatibility and includes an editor — worth comparing if you need ongoing support or editing.
- Report problems through the linked GitHub issue page, or comment on the page if you don't have a GitHub account.
If your goal is a player inside an existing site, use the embed options and match the size to your layout. If your goal is a single shareable link or a downloadable build, use packaging and the HTML packager for non-web formats.