Skip to content

Commit

Permalink
@hartman Add descriptions and audio button to adaptive classes. closes
Browse files Browse the repository at this point in the history
  • Loading branch information
hartman authored and Nicky Gerritsen committed May 17, 2016
1 parent cf5d64d commit aa2b8e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ CHANGELOG
* @misteroneill Un-deprecate the videojs.players property ([view](https://github.com/videojs/video.js/pull/3299))
* @nickygerritsen Add title to all clickable components ([view](https://github.com/videojs/video.js/pull/3296))
* @nickygerritsen Update Dutch language file ([view](https://github.com/videojs/video.js/pull/3297))
* @hartman Add descriptions and audio button to adaptive classes ([view](https://github.com/videojs/video.js/pull/3312))

--------------------

Expand Down
9 changes: 6 additions & 3 deletions src/css/components/_adaptive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
.vjs-current-time, .vjs-time-divider, .vjs-duration, .vjs-remaining-time,
.vjs-playback-rate, .vjs-progress-control,
.vjs-mute-control, .vjs-volume-control, .vjs-volume-menu-button,
.vjs-chapters-button, .vjs-captions-button, .vjs-subtitles-button { display: none; }
.vjs-chapters-button, .vjs-descriptions-button, .vjs-captions-button,
.vjs-subtitles-button, .vjs-audio-button { display: none; }
}

// When the player is x-small, display nothing but:
Expand All @@ -19,7 +20,8 @@
.vjs-current-time, .vjs-time-divider, .vjs-duration, .vjs-remaining-time,
.vjs-playback-rate,
.vjs-mute-control, .vjs-volume-control, .vjs-volume-menu-button,
.vjs-chapters-button, .vjs-captions-button, .vjs-subtitles-button { display: none; }
.vjs-chapters-button, .vjs-descriptions-button, .vjs-captions-button,
.vjs-subtitles-button, .vjs-audio-button { display: none; }
}


Expand All @@ -33,5 +35,6 @@
.vjs-current-time, .vjs-time-divider, .vjs-duration, .vjs-remaining-time,
.vjs-playback-rate,
.vjs-mute-control, .vjs-volume-control,
.vjs-chapters-button, .vjs-captions-button, .vjs-subtitles-button { display: none; }
.vjs-chapters-button, .vjs-descriptions-button, .vjs-captions-button,
.vjs-subtitles-button .vjs-audio-button { display: none; }
}

0 comments on commit aa2b8e8

Please sign in to comment.