Commit 5787b01c authored by Tommy Steimel's avatar Tommy Steimel Committed by Commit Bot

Show the timeline and overflow menu before preload

This CL changes the CSS to show the timeline and overflow button before
preload on the modern media controls. This exposes the download button
so that the user can download a video without preloading.

Bug: 814509
Change-Id: I7993204dc6d0bc38ef77e18a14ae1cfa07ab3ca8
Reviewed-on: https://chromium-review.googlesource.com/930334Reviewed-by: default avatarBecca Hughes <beccahughes@chromium.org>
Reviewed-by: default avatarMounir Lamouri <mlamouri@chromium.org>
Commit-Queue: Tommy Steimel <steimel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#544103}
parent 6c696f2c
......@@ -625,9 +625,15 @@ video::-webkit-media-controls.audio-only [pseudo="-internal-media-controls-overf
background: #F1F3F4;
}
.state-no-metadata input[pseudo="-webkit-media-controls-timeline" i]::-webkit-slider-thumb,
.state-no-metadata div[pseudo="-webkit-media-controls-current-time-display" i] {
display: none;
}
.state-no-source input[pseudo="-webkit-media-controls-overlay-play-button" i],
.use-default-poster div[pseudo="-internal-media-controls-button-panel" i],
.use-default-poster input[pseudo="-webkit-media-controls-timeline" i] {
.state-no-source div[pseudo="-internal-media-controls-button-panel" i],
video::-webkit-media-controls.state-no-source input[pseudo="-webkit-media-controls-timeline" i] {
visibility: hidden;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment