|
Flash
It is possible to embed and display Flash content. It is also possible to confirm the Flash Player's version number and whether it has been installed or not.
jQuery.flash, jQuery.fn.flash, jQuery.flash.version en, ja
jQuery.flash and jQuery.fn.flash both require flash <Require feature="flash" /> Confirming the presence of Flash PlayerjQuery.flash can be used to confirm the presence of Flash Player if ($.flash) {
console.log('Detects Flash Player.');
}Confirming the Flash Player version numberjQuery.flash.version can be used to confirm the Flash Player's version number console.log('Major version: ' + $.flash.version);Displaying Flash ContentjQuery.fn.flash can be used to display embedded Flash content $('#container').flash('http://example.com/data.swf');Parameters can be specified. At this time, the parameter name and a value can be defined as a set. $('#container').flash('http://example.com/data.swf', {
width: 50, height: 100
});Moreover, flashVars can be specified. At this time, the parameter name and a value can be defined as a set. $('#container').flash('http://example.com/data.swf', {
width: 50, height: 100,
flashVars: { comment: 'Say Hello!' }
});
|
► Sign in to add a comment
$.flash の不具合は 1.0.2 で修正しました。
there is a new jquery plugin for flash embedding named JFE.. check it @ http://www.eightclaws.com