Web App - iPad webkitEnterFullscreen - Programatically going full-screen video

后端 未结 4 600
醉梦人生
醉梦人生 2020-12-18 12:46

http://sandbox.solutionsbydesign.com/i-screenplay/h5/

Above is an example I downloaded from Apple where you can use controls for play and fullscreen mode. In Safara/

4条回答
  •  遥遥无期
    2020-12-18 13:24

    I think your issue is in trying to force a non-user invoked fullscreen, which won't work. The user has to invoke the fullscreen request through a button click, etc. Waiting for the video to load then going fullscreen isn't the same thing.

    @Drew Baker Here is a post I did last night on doing fullscreen: http://johncblandii.com/2011/07/html5-video-fullscreen.html.

提交回复
热议问题