Streaming Music from SoundCloud in Ionic 2: Part 1

By Josh Morony

SoundCloud is one of the biggest platforms in the world for not only sharing music, but sounds of any kind from podcasts to character voices. They also provide a nice API that we can use to integrate some of those sounds into our own applications. In this tutorial we will be walking through how to stream music from SoundCloud in an Ionic 2 application. This is going to be a two-part series that will cover:

  • How to integrate the SoundCloud API in Ionic 2
  • How to fetch songs from the SoundCloud API
  • How to play songs from SoundCloud in Ionic 2
  • Defining types with interfaces in Ionic 2
  • How to create an interface that will allow the user to control the music and;
  • Display information about the track that is currently playing
In this first part of the tutorial, we are going to focus on getting a bare bones application set up, and we will leave the interface and other finishing touches to the next part.

Before we proceed, it’s important to understand that we will be using content created by others in our application, and it’s important to understand the rules around that. Specifically, SoundCloud specifies that you must:

Read the full article...

Share on Google Plus

About www.

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment


Post a Comment