-
-
Notifications
You must be signed in to change notification settings - Fork 180
Embedding
Embedding TurboWarp is very similar to how you embed Scratch 3:
<iframe src="https://turbowarp.org/414716080/embed" width="499" height="416" allowtransparency="true" frameborder="0" scrolling="no" allowfullscreen></iframe>
Replace 414716080
with the ID of your project. Change width and height to match your needs. The player will automatically resize to fit. Feel free to use this however you please.
All standard URL Parameters are still available, along with some special values exclusive to embeds:
Embeds also support the autoplay
parameter, which will automatically hit the green flag when the project is loaded. For example: https://turbowarp.org/15832807/embed?autoplay
Note that audio may not work until the user interacts with the project (for example, clicking). This is a restriction imposed by browsers. There is nothing TurboWarp can do to work around this.
While some pages in TurboWarp are licensed under the GPLv3.0, the embed page is not one of these pages. It is licensed under the permissive BSD-3-Clause License and is not subject to the terms of the GPL. (In other words, it does not load any GPL-licensed code)