Skip to content Skip to sidebar Skip to footer

HTML5 Video Element On IPad Doesn't Fire Onclick?

I am using the video element in my HTML as following:

Solution 2:

Have you confirmed there are currently no other clicks that are interfearing with that event? What I've done is first unbind on the particular event before adding the new listener.

ie:

video.unbind("click").click(function(){...}

I found this to fix the issue I was having.


Solution 3:

I tried unbind/click as suggested by Frederico, but I still didn't receive any click events. I do, however, get touchstart and touchend events OK. (I'm actually getting them from a div one level up in the DOM, but I expect you could also get them from the video element just the same.)


Post a Comment for "HTML5 Video Element On IPad Doesn't Fire Onclick?"