machour/yii2-radionomy-player 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

machour/yii2-radionomy-player

Composer 安装命令:

composer require machour/yii2-radionomy-player

包简介

A wrapper for Radionomy player

README 文档

README

A Yii2 wrapper for the jquery-radionomy library.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist machour/yii2-radionomy-player "*"

or add

"machour/yii2-radionomy-player": "*"

to the require section of your composer.json file.

This package will also install the jquery-radionomy bower package.

Usage

<?= RadionomyPlayer::widget(['url' => 'your-radio-id']); ?>

Available Options

Name Description Default value
url Your radio id (required)
autoplay Whether to auto play the radio or not 0
volume Your radio id (required)
type Layout type. Valid types are: horizontal / medium / mobile horizontal
color1 Background color for radio overlays #f1ffc4
color2 Foreground color for radio overlays #ff844f
breakpoints An array of width => type values. See explanations below. []

Breakpoints

This library allow you to define breakpoints, which will be watched for when the window gets resized, in order to reload the player with an adequate layout. In other words, you can give the player responsive behavior.

<?= RadionomyPlayer::widget([
    'url' => 'your-radio-id',
    'breakpoints' => [
        400 => 'mobile',
        800 => 'medium',
        900 => 'horizontal',
]); ?>

统计信息

  • 总下载量: 9
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-06-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固