Difference between revisions of "Widget:GApp"

From GiderosMobile
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|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 10:13, 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