Giter VIP home page Giter VIP logo

Comments (7)

naveedgol avatar naveedgol commented on July 26, 2024

Good idea, what key would you want to map to these?

from music-web-player.

edeuss avatar edeuss commented on July 26, 2024

I think using the arrow keys would be the best @naveedgol

from music-web-player.

rooguima avatar rooguima commented on July 26, 2024

My idea was to use the next and previous keys on the keyboard (f7 and f9 on the Magic Keyboard)

from music-web-player.

Vertana avatar Vertana commented on July 26, 2024

@rooguima I don't have a Magic Keyboard to test this on, but let me know if the keys registered with this commit. If they do not, I can help you capture those Key Code registrations to add them in.

Please note: The tab will need to be active for this to work. Sadly, I think extensions are needed on all major browsers to get desktop global media keys working here.

from music-web-player.

Vertana avatar Vertana commented on July 26, 2024

With that commit you can use arrow keys + space or p to play/pause. You can also use media keys.

from music-web-player.

naveedgol avatar naveedgol commented on July 26, 2024

Arrow keys need to be reserved for accessibility navigation.

from music-web-player.

Vertana avatar Vertana commented on July 26, 2024

Makes sense to me. If there are comments for the code or for specifically changing something there it might be best to condense it down to discussion on PR #43

from music-web-player.

Related Issues (20)

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.