New issue
Advanced search Search tips

Issue 632148 link

Starred by 8 users

Issue metadata

Status: WontFix
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

TextTrack's VTTCues are not displayed inside the video element when translate or rotateY transforms are applied to a parent element

Reported by e...@jwplayer.com, Jul 27 2016

Issue description

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

Steps to reproduce the problem:
1. Go to: http://demo.jwplayer.com/samples/vtt-transform.html
2. Inspect the page
3. Observe that VTTCues are showing in the first video, but not in the second or third
4. Look at the in-line styles for the divs wrapping the video elements to see the transforms being applied

What is the expected behavior?
VTTCues should be visible within the video regardless of transforms applied to a parent element.

What went wrong?
VTTCues are not visible when the following transforms are applied:
- translate
- rotateY(Ndeg) [N>3)

Did this work before? N/A 

Chrome version: 51.0.2704.103  Channel: stable
OS Version: OS X 10.11.5
Flash Version: Shockwave Flash 22.0 r0

The -webkit-media-text-track-display pseudo element has a negative bottom value, causing the cue div to be below the -webkit-media-text-track-container pseudo-element.
 
Components: Blink>Media>Video
Labels: Needs-Feedback
Tested the issue on Mac 10.11.5, Windows 7, Ubuntu 14.04 using 51.0.2704.103, latest stable 52.0.2743.82, canary 54.0.2810.2 with below steps:

1.Opened URL: http://demo.jwplayer.com/samples/vtt-transform.html
2.Played first, second, third videos and inspected them.
3.Observed the same behavior in all three videos.

Please find attached screencast and update if anything missed here in triaging the issue.

evol@: Could you please provide actual and expected behavior screencast for further triaging the issue.
632148.mp4
3.6 MB View Download
Status: Untriaged (was: Unconfirmed)

Comment 3 by e...@jwplayer.com, Jul 28 2016

ssamanoori@,

I've updated the link in the ticket to better explain the expected and actual behavior: http://demo.jwplayer.com/samples/vtt-transform.html.

I've also attached a screencast illustrating the following:

- Playback starts with no transforms applied. Captions are visible.
- After applying the translate transform, captions rendered after the transform was appleid are not visible within the video window. I highlighted the -webkit-media-text-track-display element in the shadow dom to show where the cues are positioned.
- I removed the transform. Captions start showing again.
- I applied the rotateY transform. Captions rendered after the transform was applied are once again not visible. The highlighted -webkit-media-text-track-display element shows once again that the cue is positioned below the video.

Thanks,
Evol
vtt-transform.mp4
6.3 MB View Download
Cc: liber...@chromium.org
Components: -Blink>Media>Video Blink>Media>Controls
Labels: -Needs-Feedback -OS-Mac OS-All
Status: Available (was: Untriaged)
+liberato@ FYI

This is a bug in the media controls stylesheet: because of the transform, the text track ends up outside the text track container and because it has "overflow: hidden;", it doesn't show up. Commenting "overflow: hidden;" draws the text track (still in the wrong place).

See attached screenshot.
controls-transform-bug.png
70.7 KB View Download
Labels: Needs-BlinkMediaTriage
Labels: Hotlist-Polish M-58
Definitely a polish fix and high priority given it impacts players with CC, and accessibility is important.

Comment 7 by w...@chromium.org, Jan 17 2017

Labels: Hotlist-Media-UX
Owner: steimel@chromium.org
Status: WontFix (was: Available)
Marking as WontFix since I'm unable to repro the issue.

Tested on Ubuntu 14.04 using Chrome 56.0.2924.87 (Official Build) (64-bit):

1. Opened URL: http://demo.jwplayer.com/samples/vtt-transform.html
2. Played first, second, third videos
3. Captions functioning properly in all three videos
Labels: -Needs-BlinkMediaTriage

Sign in to add a comment