Giter Club home page Giter Club logo

Comments (11)

UnknownCoder807 avatar UnknownCoder807 commented on May 24, 2024

On the IOS demo, double tapping the screen brings up the controls. but there is no way to do this with the tvOS version. All gestures are ignored.

Is this the issue you mean?

from ksplayer.

prikshitgupta avatar prikshitgupta commented on May 24, 2024

On the IOS demo, double tapping the screen brings up the controls. but there is no way to do this with the tvOS version. All gestures are ignored.

Is this the issue you mean?

yes

from ksplayer.

kingslay avatar kingslay commented on May 24, 2024

Update the code, please. i had add the gestures

from ksplayer.

prikshitgupta avatar prikshitgupta commented on May 24, 2024

did you update now? if you please guide with code.

Update the code, please. i had add the gestures

from ksplayer.

UnknownCoder807 avatar UnknownCoder807 commented on May 24, 2024

Gestures working perfectly now for me, thanks for fixing.

from ksplayer.

prikshitgupta avatar prikshitgupta commented on May 24, 2024

Gestures working perfectly now for me, thanks for fixing.

can you please guide me how to customize gestures?

from ksplayer.

UnknownCoder807 avatar UnknownCoder807 commented on May 24, 2024

I don't know how to customise gestures. All I have seen working is swiping left or right makes the video fast forward/rewind. make sure that playerVideo.bottomMaskView is not hidden otherwise it wont work.

I don't see any other options than that.

Should there be more, like subtitles selection?

from ksplayer.

prikshitgupta avatar prikshitgupta commented on May 24, 2024

I don't know how to customise gestures. All I have seen working is swiping left or right makes the video fast forward/rewind. make sure that playerVideo.bottomMaskView is not hidden otherwise it wont work.

I don't see any other options than that.

Should there be more, like subtitles selection?

Yes i want to add select quality feature subtitles and more but button dont work. Swiping for me is pausing and playing.

from ksplayer.

UnknownCoder807 avatar UnknownCoder807 commented on May 24, 2024

ah, I didn't know there was other options. Hopefully Kingslay like be able to sort this rapidly like their other fixes.

from ksplayer.

kingslay avatar kingslay commented on May 24, 2024

now the menu button can show and hide bottomMaskView.

  override open func pressesBegan(_ presses: Set<UIPress>, with _: UIPressesEvent?) {
        guard let presse = presses.first else {
            return
        }
        switch presse.type {
        case .playPause:
            if playerLayer.state.isPlaying {
                pause()
            } else {
                play()
            }
        case .select:
            if !srtControl.view.isHidden {
                srtControl.view.isHidden = true
            }
        case .menu:
            isMaskShow.toggle()
        default: break
        }
    }

from ksplayer.

prikshitgupta avatar prikshitgupta commented on May 24, 2024

Great

from ksplayer.

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.