Skip to main content
Inspiring
May 24, 2015
Answered

Captivate 8 - gesture sensitivity when playing a responsive content on a mobile

  • May 24, 2015
  • 1 reply
  • 420 views

Hi there,

I just produced a responsive content and tried to play it on my mobile (Nexus 5 - Android 5.1).

This content is very simple, just 3 slides with next/back button to navigate, not SCORM.

I put it on a web server and access it from there.

No problem for displaying the content on my mobile, but the tricky thing is that the swipe gesture to navigate from one slide to another has to be VERY quick otherwise it does not work at all!

First I thought I did not check the gesture option but in fact I did. This swipe gesture speed is not common, to me, in comparison with usual responsive contents on the web.

Is it the same for other Captivate 8 users when playing a responsive content on a smartphone?

Is there a way to adjust that gesture sensitivity in a .js file somewhere? (Jquery?)

Any help/information will be much appreciated, thanks!

Didier

This topic has been closed for replies.
Correct answer TLCMediaDesign

In the CPM.js file there is a line:

swipe_velocity: 1

It looks like they are using Hammer for the gestures.

Try changing the number to .65

Swipe recognizer - Hammer.js

1 reply

TLCMediaDesign
TLCMediaDesignCorrect answer
Inspiring
May 27, 2015

In the CPM.js file there is a line:

swipe_velocity: 1

It looks like they are using Hammer for the gestures.

Try changing the number to .65

Swipe recognizer - Hammer.js

Inspiring
May 27, 2015

Great! It works fine. I tried to put a value under .65 and it worked even better

Swipe is really normal now, no need to do it as fast as before.

I wonder why Adobe put such a value (swipe_velocity: 1) by default...

Thanks a lot TLC, I really appreciate.

Didier