Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An extremely lightweight, jquery-based alternative to the massive swfobject library.

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 js
Octocat-spinner-32 README
Octocat-spinner-32 index.html
Use jquery-flash like this;

<script type="text/javascript">

This particular example converts this;

<a id="flash" href="">Javascript disabled! Click here for video.</a>

to a youtube video object. jquery-flash will automagically inherit classes, ids, dimensions and href from the original container unless you specify them in the constructor like this;

<script type="text/javascript">
			'version': '9.0.24',
            'flashvars': {

Express Install is supported by adding an 'express' line to the constructor json object with the url of the express install swf. If the user's flash version is less than the number specified by 'version' express install will be place in place of the one provided in 'src'. If no flash is installed the original element will be left completely untouched, so it's easy to put in a "no flash" image and replace it with jquery-flash.

jquery-flash adds 3 extra functions now;
isie(); // returns boolean
hasflash(); // returns boolean
flashversion(); // returns array ["10","0","45"]

Everything else functions exactly the same way, it's just a little more flexible now. :)
Something went wrong with that request. Please try again.