Skip to content

YokiToki/nw-swfobject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nw-swfobject

nw-swfobject versionswfobject version

Installation

This module is intended to be used in browserify and can therefor be installed using npm:

npm install --save nw-swfobject

Usage

var swfobject = require('nw-swfobject').swfobject;

var el = document.getElementById("my-target-element");
swfobject.embedSWF(
	"myContent.swf", 
    el, 
    300, 
    120, 
    10,
    this.expressInstallPath,
	flashvarsObj, 
    parObj, 
    attObj, 
    callbackFn
);

Versioning

This module follows the versioning scheme that the swfobject uses. The minor version is also used by the project. So swfobject 2.3 maps to 2.3.x on semver. The patch versions are used by this library to misc changes.

License

Same as the swfobject's license, MIT

About

Easealy use SWFObject in NW.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published