PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Naif Alshaye   Laravel Nova PHP Soundcloud Player   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Laravel Nova PHP Soundcloud Player
Embed an audio player to play a Soundcloud track
Author: By
Last change:
Date: 5 years ago
Size: 832 bytes
 

Contents

Class file image Download

Nova SoundCloud Field

A Laravel Nova field to play a SoundCloud audio

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require naif/soundcloud

Usage:

Add the below to Nova/User.php resource:

Soundcloud::make('Track')   

Copy past user/track_title from the SoundCloud url

Example:

URL: https://soundcloud.com/louie-zong/hello-world

User/Tilte: louie-zong/hello-world

<img src="https://raw.githubusercontent.com/naifalshaye/soundcloud/master/screenshots/add.png" width="700">

<img src="https://raw.githubusercontent.com/naifalshaye/soundcloud/master/screenshots/view.png" width="800">

Support:

naif@naif.io

https://www.linkedin.com/in/naif

License

The MIT License (MIT). Please see License File for more information.