PHP code example of machour / yii2-radionomy-player
1. Go to this page and download the library: Download machour/yii2-radionomy-player library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
machour / yii2-radionomy-player example snippets
<?= RadionomyPlayer::widget(['url' => 'your-radio-id']);
<?= RadionomyPlayer::widget([
'url' => 'your-radio-id',
'breakpoints' => [
400 => 'mobile',
800 => 'medium',
900 => 'horizontal',
]);