Widget:GApp: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>__NOTOC__ | <noinclude>__NOTOC__ | ||
Embeds a Gideros Player running a specific GApp on the wiki. | Embeds a Gideros Player running a specific GApp on the wiki. | ||
Parameters: | |||
* app: the GApp file name (with extension) | |||
* width: the canvas with, default to 320 | |||
* height: the canvas height, defaults to 480 | |||
* plugins: the list of plugins required | |||
* auto: set to 1 to load automatically | |||
Availables plugins are: | |||
* EP_Mp3.wasm | |||
* EP_Xmp.wasm | |||
* bump | |||
* json | |||
* lfs | |||
* liquidfun | |||
* reactphysics3d | |||
* spine | |||
* bit | |||
* OggCore | |||
* OggVorbis | |||
* OggOpus | |||
* OggTheora | |||
* harfbuzz | |||
* fastnoise | |||
* luasocket | |||
* Gsfxr | |||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<iframe src="https:// | <iframe src="https://code.gideros.rocks/?GIDEROS_AUTOLOAD=<!--{$auto|escape:url|default:0}-->&GIDEROS_PLUGINS=<!--{$plugins|escape:url}-->&GIDEROS_GAPP=https://wiki.gideros.rocks/index.php?title=Special:Redirect/file/<!--{$app|escape:url}-->" style="border: <!--{$border|escape:html|default:2}-->" width="<!--{$width|escape:html|default:320}-->" height="<!--{$height|escape:html|default:480}-->"></iframe> | ||
</includeonly> | </includeonly> | ||
Latest revision as of 09:46, 10 November 2020
Embeds a Gideros Player running a specific GApp on the wiki. Parameters:
- app: the GApp file name (with extension)
- width: the canvas with, default to 320
- height: the canvas height, defaults to 480
- plugins: the list of plugins required
- auto: set to 1 to load automatically
Availables plugins are:
- EP_Mp3.wasm
- EP_Xmp.wasm
- bump
- json
- lfs
- liquidfun
- reactphysics3d
- spine
- bit
- OggCore
- OggVorbis
- OggOpus
- OggTheora
- harfbuzz
- fastnoise
- luasocket
- Gsfxr