PHP Classes

PHP Mixcloud Player: Embed player of music hosted in Mixcloud

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 103 All time: 9,682 This week: 174Up
Version License PHP version Categories
mixcloud-player 2.0GNU General Publi...5HTML, PHP 5, Web services, Audio


This class fetches information from the Music streaming service Mixcloud to embed in a Web site.

It sends HTTP requests to the Mixcloud API endpoint to retrieve users' information, playlists, or Cloudcast.

The class generates the HTML Iframe code to embed Mixcloud players on a website.

The class supports options to fetch the Mixcloud dark mode player. It is possible to adjust the iframe size in width and height.

Mixcloud only provides the iframe method to embed a music player in another site. So there is no other way to access the audio stream.

Picture of Lukas Bonsch
Name: Lukas Bonsch <contact>
Classes: 1 package by
Country: Germany Germany
Age: 35
All time rank: 4383232 in Germany Germany
Week rank: 410 Up14 in Germany Germany Up

  Files folder image Files  
File Role Description
Plain text file class_mixcloud_player.php Class the class
Plain text file class_mixcloud_player_1.1.php Class the original class from 2015
Plain text file class_mixcloud_player_1.5.php Class updated version fom 2017
Accessible without login Plain text file example.php Example example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,682
This week:174Up