WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
207096
drawImage doesn't paint the current frame of a video if the video is Vertical
https://bugs.webkit.org/show_bug.cgi?id=207096
Summary
drawImage doesn't paint the current frame of a video if the video is Vertical
Jae Won Jang
Reported
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-02-02 13:12:58 PST
<
rdar://problem/59097228
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug