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 2: Line 2:
<templatestyles src="Template:FlashEmbed/styles.css" />
<templatestyles src="Template:FlashEmbed/styles.css" />


<!-- Splash Screen -->
<htmltag tagname="div"
    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;">
 
  <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 (hidden at first) -->
<htmltag tagname="div"  
<htmltag tagname="div"  
     class="ruffle-player"  
     class="ruffle-player"  
     data-swf-url="{{{url}}}"  
     data-swf-url="{{{url}}}"  
     data-splash-screen="{{{preloader|true}}}"  
     data-splash-screen="{{{preloader|true}}}"  
     style="width:{{{width|640}}}px; height:{{{height|480}}}px; display:block; margin-left:auto; margin-right:auto;">
     style="width:{{{width|640}}}px; height:{{{height|480}}}px; margin-left:auto; margin-right:auto; display:none;">
    
    
    <htmltag tagname="object"  
  <htmltag tagname="object"  
        type="application/x-shockwave-flash"  
    type="application/x-shockwave-flash"  
        data="{{{url}}}"  
    data="{{{url}}}"  
        width="{{{width|640}}}"  
    width="{{{width|640}}}"  
        height="{{{height|480}}}"  
    height="{{{height|480}}}"  
        style="display:block; margin-left:auto; margin-right: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" />
      <htmltag tagname="param" name="allowScriptAccess" value="never" selfclose="true" />
    <htmltag tagname="param" name="allowScriptAccess" value="never" selfclose="true" />
    </htmltag>
  </htmltag>


</htmltag>
</htmltag>
</includeonly>
</includeonly>

Revision as of 12:44, 25 April 2025

Advertising: