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 1: Line 1:
<includeonly>
<includeonly>
<templatestyles src="Template:FlashEmbed/styles.css" />
  <!-- load the template’s CSS -->
  <templatestyles src="Template:FlashEmbed/styles.css" />


<div class="ruffle-player">
  <div class="ruffle-player">
  <div class="preloader">
    <div class="preloader">
    <img src="{{{poster|https://flashmuseum.org/wp-content/uploads/2023/06/The_Right_Mix_logo.png}}}"
      <!-- background/logo image -->
        alt="preloader image">
      <img
    <div class="preloader_title">{{{title|Play Now}}}</div>
        src="{{{bgimage|https://flashmuseum.org/wp-content/uploads/2023/06/The_Right_Mix_logo.png}}}"
    <div class="preloader_button wp-block-button__link">
        alt="{{{title|Play}}}"
      {{{button|Play Now}}}
      />
      <!-- title text -->
      <div class="preloader_title">
        {{{title|The Right Mix}}}
      </div>
      <!-- play button -->
      <div class="preloader_button wp-block-button__link">
        {{{button|Play Now}}}
      </div>
     </div>
     </div>
    <!-- your original Flash embed -->
    <htmltag
      tagname="object"
      type="application/x-shockwave-flash"
      data="{{{url}}}"
      width="{{{width|600}}}"
      height="{{{height|400}}}"
    >
      <htmltag name="movie"      value="{{{url}}}"                tagname="param" selfclose="true" />
      <htmltag name="allowScriptAccess" value="never" tagname="param" selfclose="true" />
    </htmltag>
   </div>
   </div>
  <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>
</includeonly>
</includeonly>
<noinclude>
Usage: wiki
{{FlashEmbed
  |url=https://example.org/game.swf
  |width=800
  |height=600
  |poster=https://example.org/your_logo.png
  |title=My Game
  |button=Play Now
}}
</noinclude>

Revision as of 08:25, 25 April 2025

Advertising: