HTML5 Video Layering on iPad

后端 未结 2 1828
被撕碎了的回忆
被撕碎了的回忆 2021-01-13 03:30

I have video served by Ooyala that plays fine on all devices. The problem occurs when the user is on an iPad and attempts to view a page via a dropdown subnav. Each section

2条回答
  •  佛祖请我去吃肉
    2021-01-13 04:04

    I had a similar problem, but the solution was much simpler. Just need to remove the controls attribute from the video tag. As I am using jwplayer, the video tag is generated dynamically, so I need to remove the attribute using js. With jquery:

    $("video").removeAttr("controls");
    

    In my case, I'm already using a custom controller, so I don't need them... but I suppose (I haven't tried) you could hide and show them dynamically on upon some user action.

提交回复
热议问题