Bug 207096

Summary: drawImage doesn't paint the current frame of a video if the video is Vertical
Product: WebKit Reporter: Jae Won Jang <acrong3>
Component: CanvasAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: dino, eric.carlson, jer.noble, sabouhallawa, simon.fraser, staffan.klashed, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 13   
Hardware: iPhone / iPad   
OS: iOS 13   

Description Jae Won Jang 2020-02-02 00:09:34 PST
Similar bug to https://bugs.webkit.org/show_bug.cgi?id=153588


canvas.getContext('2d').drawImage(video, ...) only paints the first frame of `video` when the video is vertical (portrait, for example width=1080 and height=1920 video taken from iphone)

The problem doesn't happen in OS X Safari, but happens only in iOS safari (or any webkit environments, like IOS Webview)

The problem happens regardless of the video's type, whether it's uploaded from the phone via file input or served via the server, the video size, etc.

Horizontal (Landscape) videos aren't having any problem, only vertical videos do.

The bug is very consistent for my development environment, happening every time.
Comment 1 Radar WebKit Bug Importer 2020-02-02 13:12:58 PST
<rdar://problem/59097228>