The jQuery SWFObject plugin is an addon for jQuery that offers SWFObject's unique functionality of embedding Flash content using the internal jQuery API.
SWFObject is an easy-to-use and standards-friendly method to embed Flash content reliably within all major browsers. You can learn more about SWFObject here.
jQuery is a small but power-packed bundle of javascript functions that make writing javascript quick and simple. Selecting elements on your page is like using CSS, learning and using functions requires minimal fuss, and the learning curve is sometimes described as "zero". You can learn more about jQuery here.
It's easy. Tell the jQuery SWFObject plugin what flash document you want to use and where you want to put it. It works using jQuery selectors, like this:
When we're done, that result should look something like this:
If you like, you can download this example here.
You can also use flashvars with the jQuery SWFObject plugin. It works using like this:
When we're done, that result should look something like this:
If you like, you can download this example here.
Please visit our features section to learn how to use this plugin, or visit our examples section to see these and more examples of this plugin in action.
Please visit our downloads section.