This site requires JavaScript, please enable it in your browser!
Greenfoot back
KRLW890
KRLW890 wrote ...

2017/7/20

Greenfoot webpage for HTML 5

KRLW890 KRLW890

2017/7/20

#
So, HTML 5 doesn't support the applet tag, meaning that if you want to export a Greenfoot game out as a webpage, you're limited to where you can run it (the Browser Support section here is just sad). Because of this, I was wondering if anyone has come up with some alternative to applet that (hopefully) could be easily edited into the code of the exported file. Or if you're a developer of Greenfoot and are in a position to make some official edit to the software, that would be nice, too. I tried messing around with the code of the exported file a bit myself, but I'm horrible at HTML. Thank you in advance.
davmac davmac

2017/7/20

#
Actually you may have missed a note on the browser support page that you linked:
Note: There is still some support for the <applet> tag in some browsers, but it requires additional plug-ins/installations to work.
But frankly, support for Java applets is only getting worse. Also, the alternative-to-"applet" tags, "object" and "embed", are (if I remember correctly) difficult to make correctly as they don't support all the attributes that the applet tag does. For the longer term, we are looking at automatic conversion of scenarios to Javascript (which should allow full HTML 5 compliance). More details in this discussion.
KRLW890 KRLW890

2017/7/20

#
Oh! I didn't realize there was already a discussion about this. Thanks for the link.
You need to login to post a reply.