惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Attack and Defense Labs
Attack and Defense Labs
T
Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
Intezer
C
Cyber Attacks, Cyber Crime and Cyber Security
The Register - Security
The Register - Security
量子位
Security Latest
Security Latest
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
MyScale Blog
MyScale Blog
J
Java Code Geeks
Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
Spread Privacy
Spread Privacy
Jina AI
Jina AI
博客园 - 【当耐特】
P
Palo Alto Networks Blog
Last Week in AI
Last Week in AI
SecWiki News
SecWiki News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
G
GRAHAM CLULEY
宝玉的分享
宝玉的分享
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
The Blog of Author Tim Ferriss
V
Vulnerabilities – Threatpost
有赞技术团队
有赞技术团队
T
Tor Project blog
H
Hacker News: Front Page
A
Arctic Wolf
NISL@THU
NISL@THU
A
About on SuperTechFans
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
V
V2EX
N
News and Events Feed by Topic
Webroot Blog
Webroot Blog
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
I
InfoQ
D
Docker
L
LINUX DO - 最新话题
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
U
Unit 42

SunPma'Blog

宝塔面板错误及BUG解决方法集合(持续更新) - SunPma'Blog Adobe Photoshop 2025 v26.2.0 绿色便携版 ShareFile 一款目录程序源码 - SunPma'Blog 360星图绿色离线版,网站日志分析工具 - SunPma'Blog AMD R7 8845HS 虚拟机安装苹果系统 MacOS 15.2 Sequoia Telegram多平台主题Windows/Android/iOS - SunPma'Blog Telegram 桌面便携版修复应用程序弹出链接URL协议 - SunPma'Blog Chrome谷歌浏览器手动安装IDM(Internet Download Manager)扩展插件 - SunPma'Blog Lsky 兰空图床程序基于宝塔面板部署教程 - SunPma'Blog
My Music 一款音乐文件网页HTML播放器源码 - SunPma'Blog
博主: sunpma · 2025-08-04 · via SunPma'Blog
  •  发布时间:
  •  15434 次浏览
  •   13 条评论
  • 分类: Linux
  1.  首页
  2. 正文  

前言

项目地址:https://github.com/sunpma/MyMusic
预览地址:https://suntl.com/other/music

预览

PC端预览
PC端预览

移动端预览

说明

格式支持:mp3 flac wav ogg
专辑封面:/assets/album目录存放封面,命名与音频文件一致,支持jpg png webp格式
加载方式:编辑music.php文件选择媒体文件加载方式localremote

方式一:
local 加载/music文件夹内音乐媒体文件(包含子文件夹)
方式二:
remote 读取远程直链地址

    // 模式 2: 读取远程直链地址
    $remoteUrls = [
        'https://localhost.com/卢冠廷 - 一生所爱.flac',
        'https://localhost.com/吴雨霏 - 吴哥窟.flac',
        'https://localhost.com/周杰伦 - 红尘客栈.mp3'
    ];

版权声明:本文为原创文章,版权归 suntl.com 所有,转载请注明出处!

本文链接:https://suntl.com/1407.html

友情提示:如果博客出现404或链接失效,请留言或者联系博主修复!

My Music 一款音乐文件网页HTML播放器源码

 • 

前言

项目地址:https://github.com/sunpma/MyMusic
预览地址:https://suntl.com/other/music

预览

PC端预览
PC端预览

移动端预览

说明

格式支持:mp3 flac wav ogg
专辑封面:/assets/album目录存放封面,命名与音频文件一致,支持jpg png webp格式
加载方式:编辑music.php文件选择媒体文件加载方式localremote

方式一:
local 加载/music文件夹内音乐媒体文件(包含子文件夹)
方式二:
remote 读取远程直链地址

    // 模式 2: 读取远程直链地址
    $remoteUrls = [
        'https://localhost.com/卢冠廷 - 一生所爱.flac',
        'https://localhost.com/吴雨霏 - 吴哥窟.flac',
        'https://localhost.com/周杰伦 - 红尘客栈.mp3'
    ];

版权声明:本文为原创文章,版权归 suntl.com 所有,转载请注明出处!

本文链接:https://suntl.com/1407.html

友情提示:如果博客出现404或链接失效,请留言或者联系博主修复!