{"id":13708183,"url":"https://github.com/soundcloud/soundcloud-custom-player","last_synced_at":"2025-04-04T12:07:55.591Z","repository":{"id":869224,"uuid":"608503","full_name":"soundcloud/soundcloud-custom-player","owner":"soundcloud","description":"The SoundCloud custom javascript based player","archived":false,"fork":false,"pushed_at":"2015-12-03T11:01:45.000Z","size":215,"stargazers_count":709,"open_issues_count":57,"forks_count":231,"subscribers_count":231,"default_branch":"master","last_synced_at":"2025-03-28T11:08:46.450Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://soundcloud.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/soundcloud.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-04-13T14:43:22.000Z","updated_at":"2025-03-24T08:28:55.000Z","dependencies_parsed_at":"2022-08-16T11:15:19.468Z","dependency_job_id":null,"html_url":"https://github.com/soundcloud/soundcloud-custom-player","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Fsoundcloud-custom-player","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Fsoundcloud-custom-player/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Fsoundcloud-custom-player/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Fsoundcloud-custom-player/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soundcloud","download_url":"https://codeload.github.com/soundcloud/soundcloud-custom-player/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247174418,"owners_count":20896078,"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-02T22:01:58.429Z","updated_at":"2025-04-04T12:07:55.569Z","avatar_url":"https://github.com/soundcloud.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"SoundCloud Custom Player as a jQuery plugin\n\nThis plugin allows you to create easily customizable, HTML/CSS/JS based audio players. It uses the official SoundCloud Flash widget for the audio streaming and widget API for it's control or native HTML5 streaming. Supports iPad, iPhone OS4, Palm Pre etc.\n\nGetting started\nThe player setup is relatively easy:\n\nDownload the CSS and JS files for the sc-player here:\nhttp://github.com/soundcloud/soundcloud-custom-player/archives/master\n\nFirst, add the player css files in the 'head' tag of your page source:\n\u003clink rel=\"stylesheet\" href=\"../css/sc-player-standard.css\" type=\"text/css\"\u003e\n\u003clink rel=\"stylesheet\" href=\"../css/sc-player.css\" type=\"text/css\"\u003e\n\nThen add the script tags at the end of your 'body' tag (in case you're already using jQuery on your site, skip the first script tag):\n\u003cscript type=\"text/javascript\" src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"../js/soundcloud.player.api.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"../js/sc-player.js\"\u003e\u003c/script\u003e\n\n\nAnd now let's create a player! Put this into you HTML code:\n\u003ca href=\"http://soundcloud.com/matas/hobnotropic\" class=\"sc-player\"\u003eMy new dub track\u003c/a\u003e\n\nNow reload your page, and instead of the link you should see a cool new widget.\n\nNote: when you're doing the test, please make sure you're running it on the local or remote web-server (http://localhost, 127.0.0.1/testpage, yoursite.com, etc.) Only so you can be sure that the Flash component will be initialized correctly and the track will actually play. If you're still experiencing problems, verify that the links to JS files are correct. Also make sure you're using an url of an existing track :)\n\nPer default the player works in 'zero-config' mode. It means, you don't need to change or write any JavaScript to get a working player on your site. More advanced techniques are described in the documentation:\nhttp://wiki.github.com/soundcloud/soundcloud-custom-player\n\n\nThe project is published under an MIT license:\n\nCopyright (c) 2010 SoundCloud Ltd.\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoundcloud%2Fsoundcloud-custom-player","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoundcloud%2Fsoundcloud-custom-player","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoundcloud%2Fsoundcloud-custom-player/lists"}