{"id":15999454,"url":"https://github.com/wcoder/muzus","last_synced_at":"2025-10-08T03:07:35.497Z","repository":{"id":57305755,"uuid":"94578888","full_name":"wcoder/muzus","owner":"wcoder","description":":notes: New conception of audio player for web.","archived":false,"fork":false,"pushed_at":"2023-10-25T18:22:26.000Z","size":136,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-08T03:04:22.627Z","etag":null,"topics":["audio-player","hacktoberfest","javascript","player","pure-javascript","webaudio","webplayer"],"latest_commit_sha":null,"homepage":"https://wcoder.github.io/muzus/","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/wcoder.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-16T20:29:52.000Z","updated_at":"2023-10-25T17:44:25.000Z","dependencies_parsed_at":"2024-10-27T16:10:18.807Z","dependency_job_id":"712b252a-f54b-4f94-a7ec-8aeeee4a62f1","html_url":"https://github.com/wcoder/muzus","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/wcoder/muzus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wcoder%2Fmuzus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wcoder%2Fmuzus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wcoder%2Fmuzus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wcoder%2Fmuzus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wcoder","download_url":"https://codeload.github.com/wcoder/muzus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wcoder%2Fmuzus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278881889,"owners_count":26062186,"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-08T02:00:06.501Z","response_time":56,"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":["audio-player","hacktoberfest","javascript","player","pure-javascript","webaudio","webplayer"],"created_at":"2024-10-08T08:43:20.590Z","updated_at":"2025-10-08T03:07:35.472Z","avatar_url":"https://github.com/wcoder.png","language":"JavaScript","readme":"![MUZUS](https://wcoder.github.io/muzus/muzus-logo.svg)\n\nNew conception of audio player for web.\n\n## Setup\n\n```html\n\u003c!-- include muzus: js and css --\u003e\n\u003clink href=\"dist/muzus.min.css\" rel=\"stylesheet\"/\u003e\n\u003cscript src=\"dist/muzus.min.js\"\u003e\u003c/script\u003e\n```\n\n### Available in NPM\n\n```\nnpm install muzus\n```\n\n#### Getting the library from CDN\n\n```html\n\u003cscript src=\"//cdnjs.cloudflare.com/ajax/libs/muzus/1.0.0/muzus.min.js\"\u003e\u003c/script\u003e\n```\n\n```html\n\u003cscript src=\"//cdn.jsdelivr.net/npm/muzus@1.0.0/dist/muzus.min.js\"\u003e\u003c/script\u003e\n```\n\n## Basic Usage\n\nEach link with `href` attribute and parent element class `muzus` automatically becomes a player for the linked MP3.\n\n### Single track\n\n```html\n\u003csection class=\"muzus\"\u003e\n    \u003ca href=\"https://....mp3\"\u003eTrack name\u003c/a\u003e\n\u003c/section\u003e\n```\n\n### Playlists\n\n```html\n\u003csection class=\"muzus\"\u003e\n    \u003ca href=\"https://....mp3\"\u003eTrack name 1\u003c/a\u003e\n    \u003ca href=\"https://....mp3\"\u003eTrack name 2\u003c/a\u003e\n    \u003ca href=\"https://....mp3\"\u003eTrack name 3\u003c/a\u003e\n\u003c/section\u003e\n```\n\nCheck [muzus/example/index.html](https://github.com/wcoder/muzus/blob/master/example/index.html) to see more examples of usage.\n\n## Advanced Features\n\n### data-attributes\n\nAdding some data-attributes changes the behavior or appearance of the player.\n\nAttribute_Name | Type | Default value | Description\n-------------- |:--:|:--:| --\n`data-repeat` | `boolean` | `false` | Applied to a element with class `muzus`. Defines whether to repeat the playback after the last track is finished.\n\n### Preload options of script\n\nAdding in `\u003chead\u003e` your page, if you need setup player before initialize. Define in global object `Muzus`. [[Example]](https://github.com/wcoder/muzus/blob/master/example/index.html#L21)\n\nOption | Type | Default Value | Description\n-- | -- | -- | --\n`autoInit` | `boolean` | `true` | Defines automatically initialize player after page loaded.\n`isMobile` | `function` | + | Defines custom function for check is mobile device use.\n\n## Development\n\n### Gulp\n\nInstall `gulp-cli`:\n```\nnpm install --global gulp-cli\n```\n\nRestore development dependencies:\n```\nnpm i --only=dev\n```\n\n### SCSS\n\nCompiling:\n```\ngulp build:sass\n```\n\nAuto-compiling:\n```\ngulp sass:watch\n```\n\n### Run example\n\n```\nnpm run dev\n```\n\n## License\n\n\u0026copy; 2017 Yauheni Pakala | [MIT License](https://github.com/wcoder/muzus/blob/master/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwcoder%2Fmuzus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwcoder%2Fmuzus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwcoder%2Fmuzus/lists"}