{"id":18779264,"url":"https://github.com/webcaetano/swf-jquery","last_synced_at":"2026-06-19T18:32:10.780Z","repository":{"id":30621913,"uuid":"34177324","full_name":"webcaetano/swf-jquery","owner":"webcaetano","description":"jQuery plugin that easily manipulate SWF based on SWFObject","archived":false,"fork":false,"pushed_at":"2015-05-01T18:43:54.000Z","size":440,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-06-11T13:33:28.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://webcaetano.github.io/swf-jquery/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webcaetano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-18T18:23:10.000Z","updated_at":"2019-11-07T05:20:21.000Z","dependencies_parsed_at":"2022-08-30T20:01:02.572Z","dependency_job_id":null,"html_url":"https://github.com/webcaetano/swf-jquery","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/webcaetano/swf-jquery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcaetano%2Fswf-jquery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcaetano%2Fswf-jquery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcaetano%2Fswf-jquery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcaetano%2Fswf-jquery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webcaetano","download_url":"https://codeload.github.com/webcaetano/swf-jquery/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcaetano%2Fswf-jquery/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34544403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T20:19:25.374Z","updated_at":"2026-06-19T18:32:10.759Z","avatar_url":"https://github.com/webcaetano.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Bower version](https://badge.fury.io/bo/swf-jquery.svg) \n\n# ![swfJQ Logo](http://i.imgur.com/Wed19Q4.png)\n\njQuery plugin that easily manipulate SWF based on SWFObject.\n\nThis awesome class exist since 2009. Now on Bower.\n\n### Demo\n[http://webcaetano.github.io/swf-jquery/](http://webcaetano.github.io/swf-jquery/)\n\n### Quickstart\n\nUsing [Bower](http://bower.io)\n```\nbower install swf-jquery --save\n```\n\n# Documentation\n\n\n  - [$(selector).flash](#selectorflash)\n  - [Parameters](#load-with-parameters)\n  - [$.flash.available](#flashavailable)\n  - [$.flash.version](#flashversion)\n  - [$.flash.hasVersion](#flashhasversion)\n  - [$.flash.activeX](#flashactivex)\n  - [$.flash.expressInstaller](#flashexpressinstaller)\n  - [$.flash.encodeParams](#flashencodeparams)\n  - [$.flash](#flash)\n\n\n### $(selector).flash()\n\nLoad flash swf on the select\n\n```javascript\n$('#div1').flash('myFlash.swf');\n```\n\n### Load with Parameters\n\nLoad a flash swf with parameters.\n\nflashvars accept *string,boolean,number*\n\nfor *object* and *array* use JSON.stringify() and JSON.parse() on actionscript\n\n```javascript\n$('#div1').flash({\n\tswf: 'myFlash.swf',\n\theight: 400, // stage Height\n\twidth: 600, // stage width\n\tallowFullScreen: true,\n\twmode: 'transparent', // background transparent\n\tflashvars: { // set Flash variables\n\t\tplayers: 2,\n\t\tcomputer: true,\n\t\tfoo: 'bar',\n\t\tobj: JSON.stringify({name:'TheOddOne',arr:[1,2,3]})\n\t}\n});\n```\n\n### $.flash.available\n\nReturn a boolean value based on availability Flash plugin.\n\n```javascript\nreturn $.flash.available; // returns true if Flash plugin available\n```\n\n### $.flash.version\n\nReturn a object containing version information about the the user's Flash plugin.\n\n```javascript\nreturn $.flash.version\n\n/* returns {\n\t\"original\":\"Shockwave Flash 17.0 r0\",\n\t\"array\":[\"17\",\"0\",\"0\"],\n\t\"string\":\"17.0.0\",\n\t\"major\":17,\n\t\"minor\":0,\n\t\"release\":0\n}*/\n```\n\n### $.flash.hasVersion()\n\nA function which returns a boolean value of whether the user has installed the minimum specificed version of the Flash plugin.\n\n```javascript\nreturn $.flash.hasVersion(9.1); // returns true if at least Flash 9.1 or greater is detected\n```\n\n### $.flash.activeX\n\nA boolean value of whether the browser uses Flash via activeX.\n\n```javascript\nreturn $.flash.activeX; // returns true or false\n```\n\n### $.flash.expressInstaller\n\nA string that sets the filename of the express installer that will always be used.\n\n```javascript\n$.flash.expressInstaller = 'myFlashPath/expressInstall.swf'; // changes the express installer\n```\n\n### $.flash.encodeParams\n\nA boolean value of whether the params will always be URI encoded.\n\n```javascript\n$.flash.encodeParams = false; // default is true\n```\n\n### $.flash()\n\nA function which returns a standards-friendly jQuery'd flash object.\n\n```javascript\nvar useLater = $.flash.create({\n\tswf: 'myFlash.swf',\n\theight: 400,\n\twidth: 600\n});\n\n$(document).ready(function(){\n\t$.('#putFlashHere').html(userLater);\n});\n```\n\n#### Project to-do list.\n\n- [x] Setup to bower.\n- [x] Create Demo in [githubPages](https://pages.github.com/)\n- [x] Finish documentation.\n- [ ] Create swfZepto\n\n\n#### Authors\n[@jonathantneal](https://github.com/jonathantneal)\n\n[@webcaetano](https://github.com/webcaetano)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebcaetano%2Fswf-jquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebcaetano%2Fswf-jquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebcaetano%2Fswf-jquery/lists"}