Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Hosting Scratch on own website
- LaurenGeoghegan
-
New Scratcher
3 posts
Hosting Scratch on own website
Hi,
How would I go about hosting a modified version of the Scratch application on my own website?
Any help is appreciated, thanks.
How would I go about hosting a modified version of the Scratch application on my own website?
Any help is appreciated, thanks.
- WooHooBoy
-
Scratcher
1000+ posts
Hosting Scratch on own website
Well, you could run a version of https://github.com/LLK/scratch-flash for the actual editor.
The website is not open source, but you could write your own backend for sharing projects.
The website is not open source, but you could write your own backend for sharing projects.
- LaurenGeoghegan
-
New Scratcher
3 posts
Hosting Scratch on own website
Well I only want to host the editor. How would I actually take the source code and embed it in HTML?
- WooHooBoy
-
Scratcher
1000+ posts
Hosting Scratch on own website
Well I only want to host the editor. How would I actually take the source code and embed it in HTML?You would have to get a SWF from your modified version (see Build instructions on the link I gave) and then you could use
<object width="100" height="100">
<param name="movie" value="file.swf">
<embed src="file.swf" width="100" height="100">
</embed>
</object>
- LaurenGeoghegan
-
New Scratcher
3 posts
Hosting Scratch on own website
Thanks for your help WooHooBoy,
I can look at the .swf file locally in the browser, but once I upload it to the server and try to view it, a blank screen appears with a green Scratch flag. Do you know what I've done wrong?
Thanks again.
I can look at the .swf file locally in the browser, but once I upload it to the server and try to view it, a blank screen appears with a green Scratch flag. Do you know what I've done wrong?
Thanks again.
- -Io-
-
Scratcher
1000+ posts
Hosting Scratch on own website
<object type="application/x-shockwave-flash" data="file.swf" width="100%" height="100%" id="scratch" style="visibility: visible;">
<param name="allowscriptaccess" value="always">
<param name="allowfullscreen" value="true">
<param name="wmode" value="direct">
<param name="menu" value="false">
<param name="flashvars" value="autostart=false&project_title=Untitled">
</object>
Last edited by -Io- (Oct. 30, 2015 03:35:14)
- DigiTechs
-
Scratcher
500+ posts
Hosting Scratch on own website
Thanks for your help WooHooBoy,
I can look at the .swf file locally in the browser, but once I upload it to the server and try to view it, a blank screen appears with a green Scratch flag. Do you know what I've done wrong?
Thanks again.
To enable editing, you'll have to edit the code so that it thinks it's able to edit. I forgot where to edit though

- Discussion Forums
- » Advanced Topics
-
» Hosting Scratch on own website