1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
| * { margin: 0; padding: 0; }
.video_container { overflow: hidden; position: relative; background-color: #000; width: 640px; height: 365px; }
.video_container video { width: 100%; height: 100%; }
.video_container video::-webkit-media-controls { display:none !important; } .video_container video::-webkit-media-controls-enclosure { display:none !important; }
.video_container .video_controls { position: absolute; right: 0; bottom: 0; left: 0; padding: 5px; opacity: 1; -webkit-transition: opacity .3s; -moz-transition: opacity .3s; -o-transition: opacity .3s; -ms-transition: opacity .3s; transition: opacity .3s; background-image: linear-gradient(bottom, rgb(3,113,168) 13%, rgb(0,136,204) 100%); background-image: -o-linear-gradient(bottom, rgb(3,113,168) 13%, rgb(0,136,204) 100%); background-image: -moz-linear-gradient(bottom, rgb(3,113,168) 13%, rgb(0,136,204) 100%); background-image: -webkit-linear-gradient(bottom, rgb(3,113,168) 13%, rgb(0,136,204) 100%); background-image: -ms-linear-gradient(bottom, rgb(3,113,168) 13%, rgb(0,136,204) 100%); background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.13, rgb(3,113,168)), color-stop(1, rgb(0,136,204))); text-align: center; }
.video_container .video_controls>.group { display: inline-block; }
.video_container .video_controls button[type=button] { padding: 4px; background: rgba(0,0,0,.5); border: 0; border-radius: 3px; color: #eee; vertical-align: top; cursor: pointer; }
.video_container .video_controls .seek_bar { width: 200px; }
.video_container .video_controls .volume_bar { width: 40px; }
|