fantata/laravel-pod-player 问题修复 & 功能扩展

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

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

fantata/laravel-pod-player

最新稳定版本:0.1

Composer 安装命令:

composer create-project fantata/laravel-pod-player

包简介

Laravel component to play an audio file, built with podcasts in mind.

README 文档

README

Laravel component HTML5 audio player, built with podcasts in mind.

Adapted from this CSS Tricks tutorial

Installation

composer require fantata/laravel-pod-player

php artisan vendor:publish --tag=public --force

Add the JS and CSS to your template:

<link rel="stylesheet" href="<?php echo asset('vendor/fantata/css/audioPlayer.css')?>" type="text/css">
<script src="<?php echo asset('vendor/fantata/js/audioPlayer.js')?>"></script>

And finally, call the component, e.g.

<x-laravel-audio-player
    audioUrl="audio.mp3"
    imgUrl="cover.jpg"
    epId="1"
    epTitle="Greatest Cheeses of All Time"
    epDate="20th Jan 2023"
    showTitle="The Amazing Things Podcast"
/>

audioUrl is the only required attribute.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-16