jquery - iPad web app: How to trigger full screen video on first play? -
i embedded video needs play full screen on click.
i able bind full screen instruction play button of controls, not play button shown first.
which event need bind to?
here important pieces of code. (i use jquery.)
<video id="vid1" width="200" height="122" poster="files-11/video1-200x122.jpg" controls> <source src="/path-to/myvideo.mp4" type="video/mp4" /> </video> $("#vid1").bind('play',function() { $("#vid1")[0].webkitenterfullscreen(); });
Comments
Post a Comment