Skip to content

matswainson/vue-soundcloud-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

eb079e0 · Mar 10, 2021

History

17 Commits
Jan 22, 2020
Jan 31, 2020
Jan 31, 2020
Oct 3, 2020
Oct 3, 2020
Jan 22, 2020
Jan 22, 2020
Jan 31, 2020
Oct 3, 2020
Sep 8, 2020
Jun 24, 2020
Oct 3, 2020
Jan 22, 2020
Jan 22, 2020
Mar 10, 2021

Repository files navigation

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