Git Product home page Git Product logo

Comments (6)

johnmyrda avatar johnmyrda commented on July 17, 2024

I don't have any answers, but I'm also experiencing this problem. (Chrome version Version 35.0.1916.153 in Win 8.1, touch screen laptop.)

from jquery.mb.ytplayer.

angelajholden avatar angelajholden commented on July 17, 2024

Hey John,

Thanks for the reply. I'm about 99% positive the touch screen is the issue.
Since the player detects OS, not the browser window size, and because it
behaves on the desktop/laptop touchscreen exactly as it behaves on a mobile
device.

The good news is you can provide a fallback and test the fallback in
chrome; the only browser that doesn't work. It's a small consolation. :)))

Angela

On Fri, Jul 11, 2014 at 4:21 PM, johnmyrda [email protected] wrote:

I don't have any answers, but I'm also experiencing this problem. (Chrome
version Version 35.0.1916.153 in Win 8.1, touch screen laptop.)


Reply to this email directly or view it on GitHub
#41 (comment)
.

Angela J. Holden
Website Design & Development
angelajholden.com
612-715-6284

from jquery.mb.ytplayer.

fellowgeek avatar fellowgeek commented on July 17, 2024

I am having the same problem with windows 8.1 touchscreen laptop, only on chrome.
Is there a way to tell the plugin the device is not a touchscreen so it could work as normal?

from jquery.mb.ytplayer.

fellowgeek avatar fellowgeek commented on July 17, 2024

so I found a work around, on line 39 of
jquery.mb.YTPlayer.js

right after this line:
ytp.isDevice = 'ontouchstart' in window;

add:
ytp.isDevice = false;

and this will fix the issue for windows 8.1 touchscreen on chrome

from jquery.mb.ytplayer.

angelajholden avatar angelajholden commented on July 17, 2024

This is great! Thank you for finding this.

Cheers!
Angela :)

On Mon, Jul 21, 2014 at 7:31 AM, Erfan Reed [email protected]
wrote:

so I found a work around, on like 39 of
jquery.mb.YTPlayer.js

right after this line:
ytp.isDevice = 'ontouchstart' in window;

add:
ytp.isDevice = false;

and this will fix the issue for windows 8.1 touchscreen on chrome


Reply to this email directly or view it on GitHub
#41 (comment)
.

Angela J. Holden
Website Design & Development
angelajholden.com
612-715-6284

from jquery.mb.ytplayer.

pupunzi avatar pupunzi commented on July 17, 2024

Hi,
sorry for the late answer, I was in holiday :-)
This is a bug I'm going to fix on the next major release; the method that detect if the device is mobile is catching also Chrome/Win 8.1. The workaround suggested (ytp.isDevice = false;) break the mobile behavior.

Soon the update.

from jquery.mb.ytplayer.

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.