Widget:GApp: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 2: Line 2:
Embeds a Gideros Player running a specific GApp on the wiki.
Embeds a Gideros Player running a specific GApp on the wiki.
Parameters:
Parameters:
. app: the GApp file name (with extension)
* app: the GApp file name (with extension)
. width: the canvas with, default to 320
* width: the canvas with, default to 320
. height: the canvas height, defaults to 480
* height: the canvas height, defaults to 480
. plugins: the list of plugins required
* plugins: the list of plugins required
. auto: set to 1 to load automatically
* auto: set to 1 to load automatically


Availables plugins are:
Availables plugins are:
.EP_Mp3.wasm
* EP_Mp3.wasm
. EP_Xmp.wasm
* EP_Xmp.wasm
.bump
* bump
.json
* json
.lfs
* lfs
.liquidfun
* liquidfun
.reactphysics3d
* reactphysics3d
.spine
* spine
.bit
* bit
.OggCore
* OggCore
.OggVorbis
* OggVorbis
.OggOpus
* OggOpus
.OggTheora
* OggTheora
.harfbuzz
* harfbuzz
.fastnoise
* fastnoise
.luasocket
* luasocket
.Gsfxr
* Gsfxr
</noinclude>
</noinclude>
<includeonly>
<includeonly>
<iframe src="https://wiki.giderosmobile.com/WebPlayer?GIDEROS_AUTOLOAD=<!--{$auto|escape:url|default:0}-->&GIDEROS_PLUGINS=<!--{$plugins|escape:url}-->&GIDEROS_GAPP=../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>
<iframe src="https://wiki.giderosmobile.com/WebPlayer?GIDEROS_AUTOLOAD=<!--{$auto|escape:url|default:0}-->&GIDEROS_PLUGINS=<!--{$plugins|escape:url}-->&GIDEROS_GAPP=../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>

Revision as of 09:14, 18 December 2019

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