Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document embedding carts using a wasm4.org iframe #633

Open
aduros opened this issue Mar 29, 2023 · 0 comments
Open

Document embedding carts using a wasm4.org iframe #633

aduros opened this issue Mar 29, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@aduros
Copy link
Owner

aduros commented Mar 29, 2023

<iframe src="https://wasm4.org/embed/#?url=https://yoursite.com/yourcart.wasm" allow="fullscreen; gamepad; autoplay" frameborder="0"></iframe>

We should document this in the Distribution guide and maybe add an "Embed" button for each game on the Play section.

We can also add extra params to the iframe URL for common settings (mute audio, disable menu, etc).

Originally posted by @aduros in #615 (comment)

@aduros aduros added documentation Improvements or additions to documentation good first issue Good for newcomers labels Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant