开发者

Mediaelement player controls scrambled

I have multiple <video> elements dynamically hidden and shown through jQuery scripts. This works fine except the video controls are positioned all to the 开发者_JS百科left and over each other instead of the standard layout.

When I manage to hit the full screen widget and have it revert back to embedded, suddenly the controls are fine.

Page is built with html5 boilerplate with scripts in the header.

My guess is that mediaelement gets confused or not updated properly by the dynamic loading, which the full screen operation fixes?


Instead of showing and hidding <video> containing divs, this Switch-Video-Example directly switches the src.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜