GithubHelp home page GithubHelp logo

w-audioplayer-vue's Introduction

w-audioplayer-vue

An audio player by howler.

language language npm version gzip file size npm download npm download jsdelivr download

Documentation

To view documentation or get support, visit docs.

Example

To view some examples for more understanding, visit examples:

all examples: web [source code]

Installation

Using npm(ES6 module):

Note: w-audioplayer-vue is mainly dependent on w-howler .

npm i w-audioplayer-vue

By import:

<w-audioplayer-vue 
    v-model="..."
></w-audioplayer-vue>

import WAudioplayerVue from 'w-audioplayer-vue'

Vue.component('w-audioplayer-vue', WAudioplayerVue)

In a browser(UMD module):

Note: w-audioplayer-vue is mainly dependent on vue.

[Necessary] Add script for vue.

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js"></script>

[Necessary] Add script for w-audioplayer-vue.

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/w-audioplayer-vue.umd.js"></script>

Directly use:

<w-audioplayer-vue 
    v-model="..."
></w-audioplayer-vue>

Vue.component('w-audioplayer-vue', window['w-audioplayer-vue'])

new Vue({
    el: '#app',
    data: {
        content: 'abc中文123'
    }
})

w-audioplayer-vue's People

Contributors

yuda-lyu avatar

Stargazers

Chris Rault avatar angro avatar 郭天佑 avatar Kaffu Chino avatar YC avatar Kain avatar Yojee avatar Nick Frostbutter avatar KAKA avatar Leo avatar yokochen avatar

Watchers

James Cloos avatar  avatar

w-audioplayer-vue's Issues

playing audio

this looks like a nice project, but .... how do I specify the url of my audio file ?

thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.