Skip to content

fix: transparent hole being shown before video starts OS-20428#143

Open
t-bashir-bs wants to merge 1 commit into
28-x-y-bsfrom
tbashir/28-x-y-fix-flash-on-video-start-OS-20428
Open

fix: transparent hole being shown before video starts OS-20428#143
t-bashir-bs wants to merge 1 commit into
28-x-y-bsfrom
tbashir/28-x-y-fix-flash-on-video-start-OS-20428

Conversation

@t-bashir-bs

Copy link
Copy Markdown

Description of Change

CRI reported that when a video is started with hwz z-index 1 a flash can be seen before the video starts. This was only happening with CR120. What is happening is that when the video is started, but before any frames are shown the area covered by the video element is transparent. The flash is from the (usually black) background behind the html window. With z-index 1 we should just see the canvas behind the video element. The issue is easy to see if a hack is made to the mpv video opacity is set to 0, but the video element opacity is left as 100%. Without this hack you only see a flash. I did try to modify a Carson test to verify and check this scenario by using a transparent video, but we don't seem to play those correctly.
I did verify the changed hadn't broken any of the other html video Carson tests.

Checklist

Release Notes

Notes:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant