/* a wrapper element that tracks the mouse vertically */ .vjs-thumbnail-holder { position: absolute; overflow: hidden; left: -1000px; bottom: 3.2em; border: 1px solid #121212; } /* the thumbnail image itself */ .vjs-thumbnail { position: absolute; left: 0; opacity: 0; transition: opacity .2s ease; -webkit-transition: opacity .2s ease; -moz-transition: opacity .2s ease; -mz-transition: opacity .2s ease; width: auto !important; } .vjs-thumbnail-holder .vjs-thumb-duration { position: absolute; bottom: 0; left: 0; background: rgba(0, 0, 0, .6); color: #fff; width: 100%; text-align: center; font-size: 12px; line-height: 1.5em } /* fade in the thumbnail when hovering over the progress bar */ /* .fake-active is needed for Android only. It's removed on touchend/touchecancel */ .vjs-progress-control:hover .vjs-thumbnail, .vjs-progress-control.fake-active .vjs-thumbnail, .vjs-progress-control:active .vjs-thumbnail { opacity: 1; } /* ... but hide the thumbnail when hovering directly over it */ .vjs-progress-control:hover .vjs-thumbnail:hover, .vjs-progress-control:active .vjs-thumbnail:active { opacity: 0; }