Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:FlashEmbed: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 2: Line 2:
<templatestyles src="Template:FlashEmbed/styles.css" />
<templatestyles src="Template:FlashEmbed/styles.css" />


<htmltag tagname="object" type="application/x-shockwave-flash" data="{{{url}}}" width="{{{width|600}}}" height="{{{height|400}}}">
<div class="ruffle-container" data-swf-url="{{{url}}}" style="--bg: url('{{{bgimage|}}}')">
  <htmltag tagname="param" name="movie" value="{{{url}}}" selfclose="true" />
  <div class="ruffle-overlay">
   <htmltag tagname="param" name="allowScriptAccess" value="never" selfclose="true" />
    <div class="preloader_title">{{{title|My Flash Game}}}</div>
</htmltag>
    <button class="preloader_button">{{{button|Play Now}}}</button>
  </div>
   <div class="ruffle-player"></div>
</div>
</includeonly>
</includeonly>
<noinclude>
<!-- Example usage -->
{{FlashEmbed
|url=https://dldb.gamebrew.org/flashgames/example.swf
|bgimage=https://example.com/background.jpg
|title=Cool Flash Game
|button=Start Playing
}}
</noinclude>

Revision as of 09:23, 25 April 2025



Cool Flash Game
   <button class="preloader_button">Start Playing</button>



Advertising: