Bug 180472

Summary: looping single frame mp4 causes repaint in <img src=mp4>
Product: WebKit Reporter: Colin Bendell <colin>
Component: ImagesAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: eric.carlson, jer.noble
Priority: P2    
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Colin Bendell
Reported 2017-12-06 07:31:24 PST
Single frame MP4 (h264/hevc) in an <img> tag offers a good alternative to jpg because of hardware decode advantage. However, <img src=mp4> assumes muted looping which causes continual repaints of the viewport https://colinbendell.github.io/webperf/img-mp4/index.html https://colinbendell.github.io/webperf/img-mp4/index_hevc.html For situations where there are 1 (perhaps <=2 ?) frames, the <img src=mp4> should not loop.
Attachments
Note You need to log in before you can comment on or make changes to this bug.