{"id":20904591,"url":"https://github.com/ethercap/vue-tiny-audio","last_synced_at":"2025-06-20T19:32:21.219Z","repository":{"id":36459203,"uuid":"224799504","full_name":"ethercap/vue-tiny-audio","owner":"ethercap","description":"a vue tiny audio component","archived":false,"fork":false,"pushed_at":"2023-01-05T01:57:13.000Z","size":3089,"stargazers_count":1,"open_issues_count":28,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-26T12:47:11.691Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ethercap.png","metadata":{"files":{"readme":"README.md","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":"2019-11-29T07:24:37.000Z","updated_at":"2020-10-15T04:07:01.000Z","dependencies_parsed_at":"2023-01-17T01:39:27.576Z","dependency_job_id":null,"html_url":"https://github.com/ethercap/vue-tiny-audio","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/ethercap%2Fvue-tiny-audio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethercap%2Fvue-tiny-audio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethercap%2Fvue-tiny-audio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethercap%2Fvue-tiny-audio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ethercap","download_url":"https://codeload.github.com/ethercap/vue-tiny-audio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243295017,"owners_count":20268325,"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-11-18T13:17:56.799Z","updated_at":"2025-03-12T21:23:12.748Z","avatar_url":"https://github.com/ethercap.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-tiny-audio\nA simple vue audio component build by vue-cli\n\n## Install\n```\nnpm install vue-tiny-audio --save\n```\n\n## Usage\n```\n\u003ctemplate\u003e\n  \u003ctiny-audio :src=\"audioSrc\"\n    :title=\"audioTitle\"\n    ref=\"tinyAudio\"\n    @play=\"onPlay\"\n    @pause=\"onPause\"\n    @end=\"onEnd\"\n    @next=\"onNext\"\n    @previous=\"onPrevious\"\u003e\n  \u003c/tiny-audio\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\nimport tinyAudio from 'vue-tiny-audio';\nimport 'vue-tiny-audio/lib/tinyAudio.css';\n\nexport default {\n  components: {\n    tinyAudio\n  },\n  data () {\n    return {\n      src: 'xxx',\n      title: 'xxx',\n      step: 10\n    }\n  }\n}\n\u003c/script\u003e\n```\n\n## props\n|prop|type|default|required|\n|:---:|:---:|:---:|:---:|\n|src|String|undefined|true|\n|title|String|undefined|false|\n|speeds|Array|[1, 1.25, 1.5, 2]|false|\n|step|Number|5|false|\n\n\n## events\n|event|description|\n|:---:|:---:|\n|play|audio start to play|\n|pause|audio pause|\n|end|audio complete play|\n|previous|click previous button|\n|next|click next button|\n\n## slots\n|slot|description|scopeData|\n|:---:|:---:|:---:|\n|title|the play material title|title|\n|control|the audio all control DOM|audio(all the data you need)|\n|time|the part of DOM which is related to time|audio(all the data you need)|\n|previous|the previous button|none|\n|next|the next button|none|\n|back|the back button|none|\n|forward|the forward button|none|\n|playOrPause|the play/pause button|status(play/pause/waiting)|\n|speed|the all DOM related to speed control|none|\n|speedLabel|the label of speed control DOM|speed|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethercap%2Fvue-tiny-audio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethercap%2Fvue-tiny-audio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethercap%2Fvue-tiny-audio/lists"}