Skip to content

Commit

Permalink
MDL-57616 media_videojs: set min height for videos
Browse files Browse the repository at this point in the history
This partially reverts changes from MDL-57187 that added the limit for all videos and not just videojs.
Videojs displays a big play button that overlaps contents below during video loading.
  • Loading branch information
marinaglancy committed Apr 7, 2017
1 parent bd99cb9 commit 4cf6871
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion filter/mediaplugin/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
width: 100vw;
max-width: 100%;
height: auto;
min-height: 32px;
}

.mediaplugin > div {
Expand Down
4 changes: 4 additions & 0 deletions media/player/videojs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1330,3 +1330,7 @@ video::-webkit-media-text-track-display {
.video-js.vjs-error {
height: 150px;
}
/* Minimum height for videos should not be less than the size of play button. */
.mediaplugin_videojs video {
min-height: 32px;
}

0 comments on commit 4cf6871

Please sign in to comment.