{"id":13426840,"url":"https://github.com/kolber/audiojs","last_synced_at":"2025-10-22T09:51:28.504Z","repository":{"id":1214078,"uuid":"1130400","full_name":"kolber/audiojs","owner":"kolber","description":"A cross-browser javascript wrapper for the html5 audio tag","archived":false,"fork":false,"pushed_at":"2018-09-25T12:29:23.000Z","size":60483,"stargazers_count":2096,"open_issues_count":106,"forks_count":438,"subscribers_count":86,"default_branch":"master","last_synced_at":"2025-10-22T09:51:17.967Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://kolber.github.io/audiojs","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"gocarina/gocsv","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kolber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-12-01T23:19:16.000Z","updated_at":"2025-10-20T05:49:40.000Z","dependencies_parsed_at":"2022-07-06T12:33:34.504Z","dependency_job_id":null,"html_url":"https://github.com/kolber/audiojs","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kolber/audiojs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kolber%2Faudiojs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kolber%2Faudiojs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kolber%2Faudiojs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kolber%2Faudiojs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kolber","download_url":"https://codeload.github.com/kolber/audiojs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kolber%2Faudiojs/sbom","scorecard":{"id":566295,"data":{"date":"2025-08-11","repo":{"name":"github.com/kolber/audiojs","commit":"8d6d583284653dca1f331150f08493fb65a5cfb2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":2,"reason":"Found 4/20 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T15:03:56.025Z","repository_id":1214078,"created_at":"2025-08-20T15:03:56.025Z","updated_at":"2025-08-20T15:03:56.025Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280416593,"owners_count":26327043,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"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-07-31T00:01:46.293Z","updated_at":"2025-10-22T09:51:28.486Z","avatar_url":"https://github.com/kolber.png","language":"JavaScript","readme":"# audio.js\n\naudiojs is a drop-in javascript library that allows HTML5's `\u003caudio\u003e` tag to\nbe used anywhere. It uses native `\u003caudio\u003e` where available and falls back\nto an invisible flash player to emulate it for other browsers. It also serves\na consistent html player UI to all browsers which can be styled used standard css.\n\nIt plays mp3s. **No ogg**. Because, lets be honest, in the real world, no one\nreally exports ogg files. Sadly, that means Opera and Firefox get flash audio.\nHopefully they can add mp3 support soon.\n\n## Usage\n\n1. Put `audio.js`, `player-graphics.gif` \u0026 `audiojs.swf` in the same folder.\n\n2. Include `audio.js`:\n\n        \u003cscript src=\"/audiojs/audio.js\"\u003e\u003c/script\u003e\n\n3. Initialise audiojs:\n\n        \u003cscript\u003e\n          audiojs.events.ready(function() {\n            var as = audiojs.createAll();\n          });\n        \u003c/script\u003e\n\n4. Then you can use `\u003caudio\u003e` wherever you like in your HTML:\n\n        \u003caudio src=\"/mp3/juicy.mp3\" preload=\"auto\" /\u003e\n\n## Bugs / Contributions\n\n- [Report a bug](https://github.com/kolber/audiojs/issues)\n- To contribute or send an idea, github message me or fork the project\n\n## Build\n\nOn OSX, you should install [closure compiler](http://closure-compiler.googlecode.com/files/compiler-latest.zip) following the instructions in\n[Ben's gist](https://gist.github.com/739724).\n\nThen you can run `rake compile` from root directory and it will package `audio.js`\ninto `audio.min.js`.\n\n## Compiling Flash from the command line\n\nIf you want to mess around with the flash-side of things, you will need to be\nable to compile the `.as` file into a `.swf`.\n\nUsing the Flex SDK (which is free), flash movies can be compiled\ndirectly from the command line. It makes life that little bit less painful.\n\n### Installing mxmlc\n\n1. Download and unzip the current 'Milestone Release' 'Open Source Flex SDK' from:\n   \u003chttp://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4\u003e\n\n2. Copy the `bin` folder to `/usr/local/bin/flex/bin/`\n\n3. Add `/usr/local/bin/flex/bin/` to your `PATH`\n\n### Compiling the SWF\n\nRun the following command from within the `audiojs` folder.\n\n    mxmlc audiojs.as\n    \n### Bower package\n\n    bower install audiojs\n\n### License\n\naudio.js is released under the MIT license. Included MP3 and Ogg files are Creative Commons licensed tracks from [Bensound.com](http://www.bensound.com/)\n","funding_links":[],"categories":["JavaScript","HarmonyOS","Audio Libraries","Uncategorized"],"sub_categories":["Windows Manager","Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkolber%2Faudiojs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkolber%2Faudiojs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkolber%2Faudiojs/lists"}