
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!