Coder Social home page Coder Social logo

html-music-player's Introduction

一个用于浏览器的HTML音乐播放器🎵

声明

一切开发旨在学习,请勿用于非法用途

在线尝试

http://a2942.net:5902/music/ image

支持的功能

  1. 多媒体控件
  2. cookie存储播放模式及歌曲
  3. 定位播放列表至播放的歌曲
  4. 自动处理播放错误(上传播放错误至服务器,自动下一曲跳过错误)
  5. 提供较为详细的控制台日志

image image image

食用方式

  1. 下载本项目
  2. 将其解压在您的WEB Server内
  3. sounds 放入你的音乐🎵文件
  4. 运行 updatelist.batupdatelist.sh 更新 list.txt
  5. 在浏览器打开 index.html

疑问解惑

  1. 为什么直接在本地打开pcindex.html或adindex.html无法运行?
    • 因为浏览器安全策略,不允许直接访问用户的计算机目录。你可以在控制台看见
      已拦截跨源请求:同源策略禁止读取位于 file:///.../musicplayer/list.txt 的远程资源。(原因:CORS 请求不是 http)。

鸣谢

  • - 为代码编写、测试、纠正、在线随机图片提供支持
  • 北极光之夜。 - 为基础网页框架提供支持
  • FORCHANGE AI EDU - 为代码方向提供支持(有一说一它提供小代码没问题,但是一旦代码多出来就大概率不行了)
  • Visul Studio Code - 代码编写工具及插件
  • Chrome引擎Microsoft Edge - chrome://inspect 为其他设备提供开发者工具支持
  • waydroid-magisk - 为安装LSPosed软件提供支持
  • LSPosed - 为安装XPosed软件提供支持
  • WebViewDebugHook - 为调试安卓系统浏览器提供卓越支持
  • SweetAlert - 弹窗库或自定义的模态框
  • - 为音乐文件错误提供反馈支持

协议

请注意!本项目使用GPLv3,意味着你可以运行本项目,并向你的用户提供服务,但出现对项目源码进行修改,则需要将你修改后的版本对你的用户开源。出现的一切责任,请自行处理。

html-music-player's People

Contributors

a2942 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

firework-133

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.