Difference between revisions of "Widget:GApp"

From GiderosMobile
 
(8 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://wiki.giderosmobile.com/WebPlayer?GIDEROS_AUTOLOAD=<!--{$auto|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://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