Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

w-audioplayer-vue

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

w-audioplayer-vue

An audio player by howler.

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
22
decreased by-15.38%
Maintainers
1
Weekly downloads
 
Created
Source

w-audioplayer-vue

An audio player by howler.

language language npm version Build Status license gzip file size npm download jsdelivr download

Documentation

To view documentation or get support, visit docs.

Example

To view some examples for more understanding, visit examples:

default: ex-default.html [source code]

Installation

Using npm(ES6 module):

Note: w-audioplayer-vue depends on tinymce, @tinymce/tinymce-vue and vue.

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: umd file includes with @tinymce/tinymce-vue, by using tree-shaking for dead-code elimination

[Necessary] Add script for tinymce.

<script src="https://cdn.jsdelivr.net/npm/tinymce/tinymce.min.js"></script>

[Necessary] Add script for vue.

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

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

<script src="https://cdn.jsdelivr.net/npm/w-audioplayer-vue@1.0.3/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'
    }
})

Keywords

FAQs

Package last updated on 16 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc