New issue
Advanced search Search tips

Issue 617642 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

User-defined poster images ignored for composited video.

Reported by gammes...@gmail.com, Jun 6 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36

Example URL:
https://jsfiddle.net/Ln4tqxkx/1/

Steps to reproduce the problem:
1. Add a HTML5 video to a page
2. Position the video absolutely (no other elements need be positioned)
3. Add a poster to the video
4. Add a CSS transition to another element on the same page (for example, animate a rotation with a transition)
5. Notice when the transition is in progress, the user defined poster for the video is replaced by the automatically generated video poster.

What is the expected behavior?
The CSS animation should work normally without causing the video to display the automatically generated poster instead of the user generated poster.  If the animation occurs quickly, the video appears to flicker between the two posters.

What went wrong?
The CSS transition appears to be interfering with the video poster.  Every time a CSS transition is used on a page with an absolutely positioned video with a poster, the poster is subject to being hidden and shown whenever a CSS transition is in progress.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes 

Chrome version: 50.0.2661.102  Channel: stable
OS Version: OS X 10.11.5
Flash Version: Shockwave Flash 21.0 r0

There is also a Stack Overflow question regarding this issue which can be found here: http://stackoverflow.com/questions/37625434/css-transitions-absolutely-positioned-html5-video-poster-cause-flickering
 
This also appears to affect elements positioned in other ways as shown:

position: relative; - https://jsfiddle.net/Ln4tqxkx/2/

position: fixed; - https://jsfiddle.net/Ln4tqxkx/3/

Comment 2 Deleted

This bug only appears to occur if the element animated with a transition is defined before the video in the HTML.

https://jsfiddle.net/Ln4tqxkx/4/

Comment 4 by tkent@chromium.org, Jun 7 2016

Components: -Blink Blink>Animation Blink>Compositing
Labels: Needs-Feedback
Unable to reproduce the issue on Windows 7, Mac 10.11.5, Ubuntu 14.04 using 50.0.2661.102, latest stable 51.0.2704.84, canary 53.0.2761.2 with below steps:

1.Opened URL: https://jsfiddle.net/Ln4tqxkx/4/
2.Not observed any flickering in video.

gammesoft@: Could you please check the issue on clean profile and update the thread with actual behavior screencast if issue still persists.
ALL URLS POSTED ARE UNIQUE.

Notice that each JSFiddle is for a separate aspect of the issue.  Each URL is unique.  The last URL for example shows a case when the issue does not appear to be problematic.

Consider this additional unique URL for a demonstration of the issue occurring (hover the cursor over the top box) and when it does not (hover the cursor over the bottom box) on the same page.

https://jsfiddle.net/Ln4tqxkx/5/
Project Member

Comment 7 by sheriffbot@chromium.org, Jun 8 2016

Labels: -Needs-Feedback Needs-Review
Owner: ssamanoori@chromium.org
Thank you for providing more feedback. Adding requester "ssamanoori@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Components: -Blink>Animation
Status: Available (was: Unconfirmed)
Summary: User-defined poster images ignored for composited video. (was: position absolute video with poster flickers with CSS transition on same page)
The bug as reported happens beacause the video becomes composited due to assumed-
overlap with the animated element.

If you add will-change: transform to the video you can reproduce the same problem
without animations. Example:

https://jsfiddle.net/Ln4tqxkx/6/

Owner: ----
Labels: Needs-Bisect M-53
I think this may have regressed recently. Perhaps https://blink.lc/chromium/commit/?id=cf4e52129f8305d7c1f938da837ba1db80bf201c. Requesting bisect.
Labels: -Needs-Review Needs-Feedback
Tested the issue on Windows 7, Mac 10.11.5, Ubuntu 14.04 using 50.0.2661.102, latest stable 51.0.2704.84, canary 53.0.2762.0 with below steps:

1.Opened URL: https://jsfiddle.net/Ln4tqxkx/5/
2.Hovered the cursor over the top box.
3.Observed that screen blinked to another screen and to original in a second(as in attached screencast).
4.Observed that no blink or change of screen in firefox.

Please find attached screencast of chrome, firefox behavior.

gammesoft@Could you please provide actual and expected behavior screencast for further triaging the issue.
617642.mp4
779 KB View Download
Tested on Mac OS 10.11.15 with Chrome version 50.0.2661.102 (64-bit).

1. Opened URL https://jsfiddle.net/Ln4tqxkx/5/
2. Hovered over top div
3. Observed that user poster was replaced by automatically generated video poster during transition
4. After the transition ended the user poster reappeared
5. Hovered over the bottom div
6. Observed no change to the video poster
Issue 617642.mp4
1.4 MB View Download
Expected behavior occurs in Firefox.  Following the same steps on the same URL as the previous video.
Issue 617642.mp4
764 KB View Download
Labels: -Needs-Feedback -Needs-Bisect OS-Linux OS-Windows
Status: Untriaged (was: Available)
Thanks for the update.

Able to reproduce the issue on windows 7, Linux Ubuntu 14.04 and Mac 10.11.5 using chrome version 51.0.2704.84 and canary 53.0.2766.0.

This is non regression issue as the issue seen from till M36 builds.M35 and prior builds not performing the hover effect.
Marking it as Untriaged to get more inputs from dev team.

removing bisect label.

Thanks,
Status: Available (was: Untriaged)
Project Member

Comment 16 by sheriffbot@chromium.org, Jul 6 2016

Labels: -M-53 M-54 MovedFrom-53
Moving this nonessential bug to the next milestone.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
When will this issue be fixed?  It looked like it was slated for the 54 release of Chrome.  However, Chrome has already released version 56.
Components: -Blink>Compositing Blink>Media>Video
Status: Untriaged (was: Available)
Labels: Needs-BlinkMediaTriage
To cause the glitch, the property transitioned must be "transform". In this example: https://jsfiddle.net/ag4nuo3g/1/, transitioning only the background, the video stays untouched.
Labels: -OS-Linux -OS-Windows -OS-Mac -Needs-BlinkMediaTriage OS-All
Status: Available (was: Untriaged)
This still isn't fixed on Chrome 60.
This appears to be fixed as of Chrome 69.

Sign in to add a comment