[Webkit-unassigned] [Bug 218391] New: Transparent video poster image doesn't keep element transparent once first frame is preloaded
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 30 09:51:21 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=218391
Bug ID: 218391
Summary: Transparent video poster image doesn't keep element
transparent once first frame is preloaded
Product: WebKit
Version: Safari 14
Hardware: Macintosh
OS: macOS 10.15
Status: NEW
Severity: Normal
Priority: P2
Component: Media
Assignee: webkit-unassigned at lists.webkit.org
Reporter: hello at romaricpascal.is
In Safari 14, setting a transparent poster image on a video with `preoload="auto"` no longer keeps the video element transparent once the first frame gets loaded, as it did in the previous versions of Safari. The element remains transparent if `preload` is `none` or `metadata`, though.
To reproduce:
Open the following page in Safari
```
<html>
<title>Test video player</title>
<body>
<h1>Test video player</h1>
<video controls
src="https://archive.org/download/BigBuckBunny_124/Content/big_buck_bunny_720p_surround.mp4"
poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7399w"
preload="auto"
width="640">
</video>
</body>
</html>
```
Actual result:
Once the video preloads enough data, the element's background turns black
Expected result:
The element remains transparent.
Build & Hardware:
Version 14.0 (15610.1.28.1.9, 15610) on Mac OS 10.15.6
Additional builds & Platforms:
Doesn't happen on Version 13.1.12 (15609.3.5.1.3) on Mac OS 10.15.6
--
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/20201030/539ebcc6/attachment.htm>
More information about the webkit-unassigned
mailing list