Template:Flash

From BlackInkEye Encyclopedia
Template documentation[view] [edit] [history] [purge]


Note: This documentation is incomplete, as it lacks documentation for the gadget required for its functionality.

Note: Now it's maintained by Sofia more known here as BlackInkEye to work in modern browsers via ruffle and with autofit canvas and more additions.

This template allows embedding of Flash objects in articles. Javascript is required. The Flash object will appear as a disabled placeholder with a control menu. Currently, only .SWF files hosted on S3 and BlackInkEye Website are allowed and there is no generation of preview images along side with ability to choose between emulator(s) and flash. To speed up development please consider Donate

{{Center|{{flash2|Bumbamtothebase.swf|768|432|image=bumbamtothebase-preview.png}}}}

400
Embedded Flash object (requires Javascript)
Flashembed-playbutton.png
  • Disable
  • Enable all
  • Disable all
  • Always enable
  • Always disable

A note on security[edit source]

Flash objects was files with the .swf extension which could contain animations, video, audio, and interactive components. The Adobe Flash plugin, is no longer comes pre-installed on many computers, in fact it was killed by Apple, then by Google, Firefox, after by Microsoft and Adobe themselves. However, Flash objects may present a security risk, as they can contain malicious code.[1] Be sure to don't install Flash player, we have emulation of it here, so you won't need install flash and if you have working flash then you can actually enable it in your user settings in Gadgets, but remember never enable flash objects on wiki.blackinkeye.tk by default (or any other website). Well

Usage[edit source]

{{Flash|MyMovie.swf|800|600}}

This produces an embedded flash object, with a width of 800 pixels and height of 600 pixels. You can also explicitly pass named arguments, like so:

{{Flash|url=MyMovie.swf|width=800|height=600}}

Flash objects embedded with this template default to 400 by 300 pixels.

Float[edit source]

To float the Flash object so that text wraps around it, use either float=left or float=right. Example:

{{Flash|MyMovie.swf|390|270|float=left}}

Setting variables[edit source]

If your flash object requires variables to be passed to it, use the flashvars parameter. Example:

{{Flash|MyMovie.swf|800|600|flashvars=txt_name=Me&num_score=100}}

Placeholder image[edit source]

You can include a default placeholder image with the image parameter. Example:

{{Flash|MyMovie.swf|image=Black_cat.jpg}}

About[edit source]

This template uses the FlashEmbed gadget, which is enabled by default for all users. To turn it off completely, go to your preferences and untick the "Allow Flash object embedding" box.


  1. In light of this, Flash objects are REMOVED by in Chrome, and the Firefox and every single modern browser.