Template:FlashEmbed: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<htmltag tagname=" | <templatestyles src="Template:FlashEmbed/styles.css" /> | ||
data="{{{url}}}" | <htmltag tagname="div" | ||
class="ruffle-container" | |||
style="width:{{{width|640}}}px; height:{{{height|480}}}px; display:block; margin-left:auto; margin-right:auto; position:relative; overflow:hidden; background-color:#000;"> | |||
<!-- Splash Screen Overlay --> | |||
<htmltag tagname="div" | |||
class="custom-splash" | |||
style="position:absolute; top:0; left:0; width:100%; height:100%; background:#000; display:flex; align-items:center; justify-content:center; z-index:10;"> | |||
<htmltag tagname="img" | |||
src="https://www.gamebrew.org/images/5/52/Gb-logo-v3.png" | |||
alt="Loading..." | |||
style="max-width:80%; max-height:80%;" /> | |||
</htmltag> | |||
<!-- Ruffle Player Area --> | |||
<htmltag tagname="div" | |||
class="ruffle-player" | |||
data-swf-url="{{{url}}}" | |||
data-splash-screen="{{{preloader|true}}}" | |||
style="width:100%; height:100%;"> | |||
<htmltag tagname="object" | |||
type="application/x-shockwave-flash" | |||
data="{{{url}}}" | |||
width="100%" | |||
height="100%" | |||
style="display:block; margin-left:auto; margin-right:auto;"> | |||
<htmltag tagname="param" name="movie" value="{{{url}}}" selfclose="true" /> | |||
<htmltag tagname="param" name="allowScriptAccess" value="never" selfclose="true" /> | |||
</htmltag> | |||
</htmltag> | |||
</htmltag> | </htmltag> | ||
</includeonly> | </includeonly> | ||