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
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<htmltag tagname="object"  
<templatestyles src="Template:FlashEmbed/styles.css" />
     type="application/x-shockwave-flash"  
 
     data="{{{url}}}"  
<htmltag tagname="div"
    width="{{{width|640}}}"  
    class="ruffle-container"
    height="{{{height|480}}}"  
    style="width:{{{width|640}}}px; height:{{{height|480}}}px; display:block; margin-left:auto; margin-right:auto; position:relative; overflow:hidden; background-color:#000;">
    style="display:block; margin-left:auto; margin-right:auto;">
 
  <htmltag tagname="param" name="movie" value="{{{url}}}" selfclose="true" />
     <!-- Splash Screen Overlay -->
  <htmltag tagname="param" name="allowScriptAccess" value="never" selfclose="true" />
    <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>

Revision as of 12:41, 25 April 2025

Advertising: