Template:FlashEmbed: Difference between revisions
Template page
More actions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class=" | <div class="flash-wrapper" style="background-image: url('{{{background|https://flashmuseum.org/wp-content/uploads/2023/05/Find-the-Escape-Men-199-Name-of-New-Era_logo.png}}'); background-size: cover; background-position: center; padding: 40px; text-align: center; border-radius: 12px; position: relative;"> | ||
<div class="flash-overlay" style="background: rgba(0, 0, 0, 0.5); padding: 20px; display: inline-block; border-radius: 12px;"> | |||
< | <h2 style="color: #fff; font-size: 28px; margin-bottom: 20px;">{{{title|ピクトさんをさがせ!199(新元号編)}}}</h2> | ||
<div class="preloader_button | |||
<div class="preloader_button" style="display: inline-block; background: #ff4081; color: #fff; padding: 12px 24px; border-radius: 6px; font-size: 18px; cursor: pointer;" onclick="document.getElementById('flash-embed').style.display='block'; this.style.display='none';"> | |||
{{{button|Play Now}}} | |||
</div> | |||
</div> | |||
<div id="flash-embed" style="display: none; margin-top: 20px;"> | |||
<htmltag tagname="object" type="application/x-shockwave-flash" data="{{{url}}}" width="{{{width|600}}}" height="{{{height|400}}}"> | |||
<htmltag tagname="param" name="movie" value="{{{url}}}" selfclose="true" /> | |||
<htmltag tagname="param" name="allowScriptAccess" value="never" selfclose="true" /> | |||
</htmltag> | |||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||