Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Unified Diff: ui/file_manager/video_player/css/media_controls.css

Issue 1824803003: VideoPlayer: Create subtitles button. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nits Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/file_manager/video_player/images/media/2x/media_subtitles.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/video_player/css/media_controls.css
diff --git a/ui/file_manager/video_player/css/media_controls.css b/ui/file_manager/video_player/css/media_controls.css
index cf1e6cc9c3050c5199b503f1059c5adeccfe8d41..fd1acfd6ed9bc996811b8d90e0b12b840a7a2451 100644
--- a/ui/file_manager/video_player/css/media_controls.css
+++ b/ui/file_manager/video_player/css/media_controls.css
@@ -176,6 +176,20 @@ paper-slider.volume {
url(../images/media/2x/media_fullscreen_exit.png) 2x);
}
+.media-button.subtitles {
+ background-image: -webkit-image-set(
+ url(../images/media/media_subtitles.png) 1x,
+ url(../images/media/2x/media_subtitles.png) 2x);
+}
+
+.media-button.subtitles:not([showing]) {
+ opacity: 0.2;
+}
+
+.media-button.subtitles[unavailable] {
+ display: none;
+}
+
.playback-state-icon {
-webkit-animation: none;
background-position: center center;
« no previous file with comments | « no previous file | ui/file_manager/video_player/images/media/2x/media_subtitles.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698