Coder Social home page Coder Social logo

moefront / muse Goto Github PK

View Code? Open in Web Editor NEW
87.0 9.0 14.0 5.46 MB

🎧 All you need is a simple and diligent HTML 5 music player written in React.

Home Page: https://github.com/moefront/muse

License: MIT License

HTML 4.89% CSS 17.48% JavaScript 31.83% TypeScript 45.80%
muse player react redux html5 audio mobx typescript

muse's Issues

Firefox 进度条

点击进度条没反应 _ (:з」∠) _
Chrome没有问题呢

ReferenceError: event is not defined
...getElementsByClassName("ym-played")[0],clickarea=event.clientX,awayleft=audioEle...

Fullscreen mode problem

Press ESC to exit FullScreen mode works well.
But the message on ContextMenu is still 退出全屏模式.
Thanks for the work !

[Bug]重新播放时歌词无法滑动

重现方法:

  1. 随便开一个有MUSE的页面(我只试过列表里只有一首歌的情况)
  2. 把歌放完(不开循环)
  3. 再点一次播放键
  4. 可以观察到音频已经开始播放,但是歌词没有随之滑动。

not working on iOS in a particular situation

Interesting (
Register more than two setInterval before MUSE.render() is called.
And on iOS, muse-player not working at all. (Clicking play button or dragging progress bar)
There are no errors in console.
After clear the timers and call MUSE.destroy() & MUSE.render(), it reborned.

Here is a demo url

The above steps work well in PC and Android Browsers.

Repeating music items are rendered after switching pages using pushState

When switching from a page which has rendered MUSE to another (pushState), switch back to this page(or other pages that have another instance) and re-render MUSE, the playlist will have repetitions (previous playlist items + current playlist items).

Maybe there are some problems with MUSE.destroy() method.

Element not found

Found in your blog when switch pages, a compatiblity problem with PJAX? 😂
screenshot

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.