Giter Club home page Giter Club logo

Comments (5)

charliesbot avatar charliesbot commented on July 4, 2024

could you give me more details? Working incorrectly is pretty vague. What is the behavior that you see? Any video / image to follow up?

from react-native-media-controls.

dungle27 avatar dungle27 commented on July 4, 2024

Thanks to reply!
In image 1:slider working perfect and smooth but when I click fullVideo button it will render a screen (please refer image 2)
In Image 2, when I drag slider then slider working incorrect. It can't drag smooth.
Code in comment above...please help me fix this problem. Is it relate vertical slider??

==============
20200602_094100
20200602_094034

from react-native-media-controls.

charliesbot avatar charliesbot commented on July 4, 2024

Could you give me more details? From the pictures, I can see it renders correctly. what is failing? Is it slow?

Also, in which OS is working differently? iOS, Android, or both?

from react-native-media-controls.

dungle27 avatar dungle27 commented on July 4, 2024

yes, render view is correct but when drag slider it not smooth
Sometime, I dragged the slider to the left but it moved to the right.
I tested on android.
You can try it with my code.

from react-native-media-controls.

charliesbot avatar charliesbot commented on July 4, 2024

@dungle27, please notice that this library is just a UI overlay on top of any player. That means that I don't control how the controls behave, that's on your end. I don't handle any video player state, I just got the props based on what the events that you use.

I added more cases in the example project (PR -> #32) that may help you to debug your case.

Eg, in this issue your mention that the controls don't loop. If you enable the repeat option, that means you don't need the state ENDED, as you will never reach it. Based on that, I just removed that line in the onEnd event.

About the rotating issue, what you may do instead of rotating the components by yourself, you might change the orientation of the device. In the past I used https://github.com/yamill/react-native-orientation to change to landscape when the user taps on the fullscreen button.

from react-native-media-controls.

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.