Git Product home page Git Product logo

best-volume-sliders's Introduction

best-volume-sliders

! WORK IN PROGRESS !

(this is in its VERY early stages. You can star and watch the repository to stay in touch with my progress)

The best volume sliders.
Idea taken from Programmer Humour Subreddit.
Can't find the original sources for all the sliders, but here is an article about it.

best-volume-sliders's People

Contributors

cosmeeeen avatar

Stargazers

 avatar

Watchers

 avatar  avatar

best-volume-sliders's Issues

Slider selector should look nice when more sliders are added

At the moment, the background of the slider selector is transparent.
This should be the case when it is not expanded, but it needs a solid background when it is expanded.
I was thinking of having it cover the whole page eventually, and be easily scrollable.
When working on this issue, if not enough sliders are existent, add more items to the sliders array for testing purposes and push the branch with the sliders in order for the reviewers to easily test it. They should be removed after one reviewer comments that all of the features work correctly.

I'm open to more design suggestions, the only requirements are that the selector should be scrollable in order to permit the addition of (theoretically) unlimited sliders while being easily usable.

I also want to keep the same view for desktop and mobile, so I expect the menu to be usable on both.

Slider selector smooth transition

It would be nice if the slider selector had a smooth transition, with a transition: .3s; property to match all the UI elements.
The transition should be valid and work even when more items are added to the slider list.

Audio volume not adjustable in iOS Safari

As per the comments near referenced line, audio volume is not adjustable in iOS Safari. I was not able to find a fix for this, needs to be investigated.

React.useEffect(() => {
// On iOS devices, the audio level is always under the user's
// physical control. The volume property is not settable in
// JavaScript. Reading the volume property always returns 1.
// Source: https://apple.co/2Yk5IEK
audio.current.volume = volume / 100;
}, [audio, volume]);

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.