Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

JWPlayer 6.8: OnDisplayClick event doesn't work on iPad in fullscreen mode


Hi there!

I'm trying to implement interactivity for video playback and I can successfully handle OnDisplayClick event on iPad in normal mode, however in fullscreen mode this doesn't work.
Is it possible to catch clicks in fullscreen on iPad? I found that touchstart and touchend can't be handled neither by document nor by controlbar.

I checked out JW Player 6.8 sources and tried adding logging in jwplayer.utils.touch.js:

document.addEventListener(TOUCH_START, touchHandlerFS);
document.addEventListener(TOUCH_END, touchHandlerFS);

function touchHandlerFS(evt) {
console.log(evt.type);
}

However, as I said, in fullscreen mode when you click on video no logs appear (tested on Chrome in iPad emulation mode).

Any advice? :-)

Thanks in advance!

3 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

This might be because in full screen mode the default iOS player takes over.

JW Player

User  
0 rated :

Do you mean default iOS controls overlay that prevents events going to underlying content?
So, probably there's no way to fix this, sad :-(

Anyway, great player and controlbar works perfect in iOS! (except fullscreen :-)

Ethan Feldman

JW Player Support Agent  
0 rated :

Yeah, I’m afraid not :X

This question has received the maximum number of answers.