swfobject-constructor
v2.2.1
Published
SWFObject is an easy-to-use and standards-friendly method to embed Flash content, which utilizes one small JavaScript file
Downloads
3
Maintainers
Readme
swfobject-constructor
This a browserify compatible version of the swfobject
library which is used to
embed flash objects in your browsers.
Function call removed from original library. Now it returns only constructor. It was made because swfobject runs some incredebly dull code in the start, which can affect page loading time. So you can run swfobject initialization when you want to.
The full documentation is available at: https://code.google.com/p/swfobject/wiki/documentation
Installation
This module is intended to be used in browserify and can therefor be installed using npm:
npm install --save swfobject
import Swfobject from 'swfobject'
let swfobject = Swfobject();
Versioning
This module follows the versioning scheme that the swfobject uses. The major is the major version used by the swfobject project. The minor version is also used by the project. So swfobject 2.2 maps to 2.2.x on semver. The patch versions are used by this library to update browserify releases, fixes and other misc changes.
License
Same as the swfobject's license, MIT