[Webkit-unassigned] [Bug 176439] Safari on iOS11 Freezes when viewing a cropped remote video

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 18 15:35:50 PDT 2017


--- Comment #16 from Mike Block <mikeblock at rogers.com> ---
@Ben the video should letterbox itself if you constrain the video tag. Try a setup like this for your test:

fixed size for each video wrapper
.video-wrap {
     width: 320px;
     height: 240px;
     position: relative;
video ELEMENT expands to the dimensions of the wrapper
actual video will be left right letter boxed and smaller if portrait
it will fill if landscape and 4:3 source
if 16:9 source, it will be top-bottom letter boxed
.video-wrap > video {
     position: absolute;
     top: 0; left: 0;
     width: 100%;
     max-width: 100%;
     height: 100%;
     max-height: 100%;
<!-- add as many of these as you need and attach streams as needed -->
<div class="video-wrap">
     <video muted autoplay playsinline>

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171018/7172bbbe/attachment.html>

More information about the webkit-unassigned mailing list