safari10

Video tag on Safari 10 goes up after few seconds

跟風遠走 提交于 2019-12-12 00:56:07
问题 after few seconds on reproducing the video, the video goes up 50% and shows the controls and just bottom half of the video. this issue happens only on Safari 10, tried on Safari 9 (and other browsers) and it works fine, i've reproduced the issue on https://jsfiddle.net/antonino_R/d9tf0va3/4/ <div class="wrapper"> <div class="wrapper-inner"> <div class="wrapper-video"> <video autoplay controls loop muted > <source src="http://techslides.com/demos/sample-videos/small.mp4" type='video/mp4;codecs

Safari Picture In Picture - custom HTML5 video controller

时间秒杀一切 提交于 2019-11-26 19:22:09
问题 Safari HTML5 custom video controller with Picture In Picture (PiP) At the WWDC15 Apple introduces Safari 9 (Safari 10 for MacOS) , there now have support for Picture in Picture. However, they just say: If you use custom HTML5 video controls, you can add Picture in Picture functionality using the JavaScript presentation mode API. but not telling how or where to find its documentation. The default video controller has the button, but how do I trigger it by javascript? 回答1: First if you are