{"id":13528031,"url":"https://github.com/soundcloud/areweplayingyet","last_synced_at":"2025-06-24T04:31:48.369Z","repository":{"id":66309407,"uuid":"2577004","full_name":"soundcloud/areweplayingyet","owner":"soundcloud","description":"html5 audio benchmarks","archived":false,"fork":false,"pushed_at":"2013-03-20T12:43:12.000Z","size":266206,"stargazers_count":310,"open_issues_count":17,"forks_count":69,"subscribers_count":230,"default_branch":"master","last_synced_at":"2025-05-20T07:06:19.059Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/soundcloud.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":"2011-10-14T15:28:12.000Z","updated_at":"2025-03-30T00:40:08.000Z","dependencies_parsed_at":"2023-02-20T02:00:55.585Z","dependency_job_id":null,"html_url":"https://github.com/soundcloud/areweplayingyet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/soundcloud/areweplayingyet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Fareweplayingyet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Fareweplayingyet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Fareweplayingyet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Fareweplayingyet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soundcloud","download_url":"https://codeload.github.com/soundcloud/areweplayingyet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Fareweplayingyet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261604104,"owners_count":23183593,"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","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-08-01T06:02:10.654Z","updated_at":"2025-06-24T04:31:43.358Z","avatar_url":"https://github.com/soundcloud.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Are We Playing Yet?\n## A pragmatic HTML5 Audio test suite\nThis is an **open and public** initiative to bring more harmony into HTML5 Audio implementations.\nThe specifications are missing some features and sometime leaves room for interpretation.\nWe want to un-mute the Web and make Audio rock! If you feel the same, you can **report browsers bugs**, [write tests](https://github.com/soundcloud/areweplayingyet/), [fill issues](https://github.com/soundcloud/areweplayingyet/issues) and join our [conversation](http://twitter.com/areweplayingyet).\n\n## ToC\n\n- Running AWPY\n- Write tests\n  - Intro\n  - Test structure\n  - Terminating tests\n- Submitting issues\n  - To browser vendors\n  - To AWPY\n\n## Running AWPY\n\nYou need nodejs and npm.\n\n    brew install node\n    curl http://npmjs.org/install.sh | sh\n\nTo prepare the dependencies for the project run the following command in the root of the repository:\n\n    npm install\n\nTo run the http server invoke the following command:\n\n    node server.js\n\nNow you should be able to load \u003chttp://localhost:3000\u003e.\n\n## Write tests\n\n### Intro\n\nCreate a new file in `/public/tests`\u003cbr\u003e\nThe name should be prefixed by the test type and separated by a hyphen-minus and look like this: `type-name`\u003cbr\u003e\ne.g.: `event-seeking.js`\n\nMiscellaneous tests should be prefixed by \"support\"\n\n### Test structure\n\nA test consists of this basic JSON structure:\n\n    ({\n      name: '', // required (identical to your filename)\n      description: '', // required (used as title on the website)\n      spec: 'http://…', // optional\n      longdesc: 'lorem ipsum…', // optional\n      reports: { // optional\n        chrome: {\n          desc: 'lorem ipsum…',\n          link: 'http://…'\n        }\n      },\n      assert: function(finish) { // required\n        var audio = this.audio;\n      }\n    })\n\nWe encourage you to document it as much as possible by linking to specifications, describing it precisely \u0026 including known browser bugs.\n\nValid values for reports are:\n\n- firefox\n- opera\n- chrome\n- safari\n- ie\n- firefoxMobile\n- operaMobile\n- android\n- ieMobile\n- safariMobile\n\n### Terminating tests\nThere a 3 ways to terminate a test:\n\n- passing\n- failing\n- failing by timeout, 15 seconds after loadedmetadata event was triggered\n\nTo make a test pass you need to call\n\n    finish(true);\nTo make a test fail call\n\n    finish(false);\n\n## Submitting issues\n\n### To browser vendors\nWe encourage you to submit issues to browser vendors, here is a list of sites where you can do so for different browsers:\n\n- [Firefox \u0026 Firefox Mobile](https://bugzilla.mozilla.org/)\n- [WebKit (Safari, Chrome,…)](http://bugs.webkit.org/)\n- [Chrome](http://dev.chromium.org/for-testers/bug-reporting-guidelines)\n- [Opera \u0026 Opera Mobile](https://bugs.opera.com/wizard/)\n- [Safari Mobile](https://bugreport.apple.com/)\n- [Android](http://source.android.com/source/report-bugs.html)\n- WebOS: There a different official threads open on their [forums](http://forums.precentral.net/webos-discussion/)\n- IE \u0026 IEMobile: Sadly there is no report form. They sometimes include feedback forms in their developers previews.\n\n### To AWPY\nYou're very welcome to make suggestions, [report issues](https://github.com/soundcloud/areweplayingyet/issues) and open pull requests for changes and new tests.\n\nBefore opening a new issue take a second to verify if it doesn't already exist.\n\nIf you open a new one, please label it correctly.\n\n\nFeel free to propose changes to this document.\u003cbr\u003e\nHappy audio hacking.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoundcloud%2Fareweplayingyet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoundcloud%2Fareweplayingyet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoundcloud%2Fareweplayingyet/lists"}