Skip to content

Conversation

@deanc
Copy link

@deanc deanc commented Feb 13, 2014

Hi,

You cannot interact with a hidden HTML5 video in a callback on iPad, even if you attempt to show the video at the beginning of the callback code.

A pseudo-example code would be:

$("#button").click(function () { $("video").show(); $(video).get(0).play(); }

This would not work. This PR fixes this by changing the behaviour to hide a video or poster using opacity, which means you can still interact with it even if it's not visible, or about to be made visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant