Template:FlashEmbed: Difference between revisions
Template page
More actions
No edit summary Tag: Manual revert |
No edit summary |
||
| Line 2: | Line 2: | ||
<templatestyles src="Template:FlashEmbed/styles.css" /> | <templatestyles src="Template:FlashEmbed/styles.css" /> | ||
<!-- Splash Screen --> | <!-- Splash Screen with Button --> | ||
<htmltag tagname="div" | <htmltag tagname="div" | ||
class="custom-splash" | class="custom-splash" | ||
style="position:relative; width:{{{width|640}}}px; height:{{{height|480}}}px; background:#000; margin-left:auto; margin-right:auto; display:flex; align-items:center; justify-content:center;"> | style="position:relative; width:{{{width|640}}}px; height:{{{height|480}}}px; background:#000; margin-left:auto; margin-right:auto; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;"> | ||
<htmltag tagname="img" | <htmltag tagname="img" | ||
src="https://www.gamebrew.org/images/5/52/Gb-logo-v3.png" | src="https://www.gamebrew.org/images/5/52/Gb-logo-v3.png" | ||
alt="Loading..." | alt="Loading..." | ||
style="max-width:80%; max-height: | style="max-width:80%; max-height:60%;" /> | ||
<htmltag tagname="button" | |||
class="play-button" | |||
style="padding:10px 20px; font-size:18px; background-color:#36c; color:#fff; border:none; border-radius:8px; cursor:pointer;"> | |||
Play Now | |||
</htmltag> | |||
</htmltag> | </htmltag> | ||
<!-- Ruffle Player ( | <!-- Ruffle Player (Hidden initially) --> | ||
<htmltag tagname="div" | <htmltag tagname="div" | ||
class="ruffle-player" | class="ruffle-player" | ||
| Line 24: | Line 30: | ||
type="application/x-shockwave-flash" | type="application/x-shockwave-flash" | ||
data="{{{url}}}" | data="{{{url}}}" | ||
width=" | width="100%" | ||
height=" | height="100%" | ||
style="display:block; margin:0 auto;"> | style="display:block; margin:0 auto;"> | ||
<htmltag tagname="param" name="movie" value="{{{url}}}" selfclose="true" /> | <htmltag tagname="param" name="movie" value="{{{url}}}" selfclose="true" /> | ||