matswainson / vue-soundcloud-player

Custom Soundcloud player for Vue, supporting single tracks & playlists

Home Page:http://npm.im/vue-soundcloud-player

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue-soundcloud-player

Vue custom soundcloud player

Custom Soundcloud player supporting single tracks & playlists

Example

vue-soundcloud-player-2

<template>
  <SoundCloud
    track="194881641"
    :mini="true"
    @ready="ready"
  />
</template>

<script>
import SoundCloud from 'vue-soundcloud-player';

export default {
  ...
  components: {
    SoundCloud
  },
  methods: {
    ready() {
      // fired when the player is loaded
    }
  }
  ...
}
</script>

Options

Name Type Default Description
track string - ID of track
playlist string - ID of playlist
mini boolean false Small player with inline play button
theme string dark Playlist colours - accepts dark or light

Track or playlist IDs can be found from Soundcloud embed player URLs

Browser Support

  • Chrome
  • Firefox
  • Internet Explorer 9+
  • Opera

About

Custom Soundcloud player for Vue, supporting single tracks & playlists

http://npm.im/vue-soundcloud-player


Languages

Language:Vue 49.1%Language:CSS 34.5%Language:JavaScript 16.4%