Giter VIP home page Giter VIP logo

react-video-seek-slider's People

Contributors

egorovsa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

react-video-seek-slider's Issues

Issues while start of project

Just downloaded project
npm install - OK
npm run start - TypeError: Cannot read property 'properties' of undefined

OnChange time returns 0

Hey @egorovsa,

nice library ๐Ÿ˜ƒ , I'm trying to use it as a solution for some custom video controls that I've built for one of my projects.

I have a small problem with onChange when I want to use the slider to seek time or to get the time just by clicking on the slider it returns 0. Here I have replicated the problem in this sanbox. Default video controls are there to help with playing the video.

Cheers.

Rouge loader values on video loaded

Hey @egorovsa,

I just wanted to open another issue, here is a loom video, not sure how to reproduce this in the sandbox.

Once the page and video load I can see that slider already have some data loaded, not just that the pseudo-element is offset by 100px. Not sure why is this happening, so wanted to ask you do you maybe have any idea why this can happen.

I can config that progress, currentTime, and max values are 0 on-page and video load.

Cheers.

Onchange always return time 0 or 1

When I click on the slider. I expect the time return will be correct number or percent of video in that point. But It always return 0 and 1 , It seem incorrect

Window mouse events are causing issues with other elements on the same page in Safari

Actual Behavior

In Safari, the custom volume slider we built for our video player was not working as expected. The Input range slider would stick and never seem to loose focus. After some digging, we realized that this was due to the react-video-seek-slider attaching mouse events to the window, which would prevent the default behaviour of the input range slider.

Expected Behavior

The seek bar should not affect default behaviour of any elements on the page.

Workaround

Use event.stoppropagation() on input fields mouse events.

Codesandbox

https://codesandbox.io/p/sandbox/priceless-sky-rxr3yr?file=%2Fsrc%2FApp.js%3A17%2C27

Called setState on an unmounted component

Warning: Can only update a mounted or mounting component. This usually means you called setState, replaceState, or forceUpdate on an unmounted component. This is a no-op.

Please check the code for the VideoSeekSlider component.

printWarning @ vendor.min.js:250
warning @ vendor.min.js:274
warnAboutUpdateOnUnmounted @ vendor.min.js:12171
scheduleWorkImpl @ vendor.min.js:13131
scheduleWork @ vendor.min.js:13089
enqueueSetState @ vendor.min.js:8587
Component.setState @ vendor.min.js:569
VideoSeekSlider._this.setSeeking @ vendor.min.js:49283

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.