Difference between revisions of "Widget:GApp"

From GiderosMobile
 
Line 28: Line 28:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
<iframe src="https://code.gideros.rocks/?GIDEROS_AUTOLOAD=<!--{$auto|escape:url|default:0}-->&GIDEROS_PLUGINS=<!--{$plugins|escape:url}-->&GIDEROS_GAPP=https://wiki.giderosmobile.com/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://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 10: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