Friday, 6 September 2013

HTML elements over HTML5 videos on iOS

HTML elements over HTML5 videos on iOS

When I put any HTML element with JavaScript action attached to it on a
HTML5 video, it can't be clicked on iOS 6.1.3. Is this a known issue or
can it be fixed?
Example code:
jQuery('.element').on('click', function(){
alert('test');
});
It works when .element is not above the video and it doesn't work when
it's above the video. It stops being clickable.

No comments:

Post a Comment