GithubHelp home page GithubHelp logo

Comments (4)

phhu avatar phhu commented on June 29, 2024

Thanks. I'll try to find an ipad to test on and then look to update the code so that it works.

from videojs-abloop.

phhu avatar phhu commented on June 29, 2024

I've tested on an ipad and it does work with just the click event for me. It needs a fairly firm finger press though I think.... Could you confirm which browser you're using?

from videojs-abloop.

nimoatwoodway avatar nimoatwoodway commented on June 29, 2024

Thanks for you reply!

I've tested it on various Apple touch devices like iPad 4rd gen. with iOS 11, iPad Air 3rd gen. iOS 13.7, iPhone 11 Pro with iOS 14.2, iPad Pro 4th gen. with iOS 14.2. Everywhere with the native safari browser. On iOS there is only one browser engine available and the version is the same as the os version.

I used your demo page to test: https://unpkg.com/[email protected]/sample/basic.html

If I touch 5 to 10 times, sometimes it works but very randomly. I think the problem is in the handling of click events on touch devices. There is probably some delay between touch start and touch end and in between there seems something to happen in your script and then something loosing focus. Make this any sense to you?

I've created other components for the player and there I can just use the click event.

The adjustment I made works for me at moment. But maybe you find a better solution. Kind regards!

from videojs-abloop.

Related Issues (9)

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.