newraina / meplayer Goto Github PK
View Code? Open in Web Editor NEW一款简洁的HTML5音乐播放器
一款简洁的HTML5音乐播放器
Uncaught TypeError: Object [object HTMLDivElement] has no method 'includes'
很棒的播放器!不过建议加入一些好用的功能。
事件绑定,如APlayer一样
可以配置是否自动播放
总是在第二次调用的时候就报错
mePlayer is not a function
求解决方法
如題,希望能有原文與翻譯歌詞的接口,或是提供一次顯示並捲動兩行歌詞的功能,感謝!
191行与192行 歌词换行错位修改:
lyricArea.style.webkitTransform = 'translateY(-' + tempLrcLines[tempLrcIndex].offsetTop + 'px)'; lyricArea.style.transform = 'translateY(-' + tempLrcLines[tempLrcIndex].offsetTop + 'px)';
因谷歌浏览器会禁止自动播放,会导致播放器class是播放状态,但并没有播放,
251行play()的addClass移至新建个播放事件里:audio.addEventListener('play', handleAudioStart);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.