| | |
| | | *{ |
| | | margin: 0; |
| | | padding: 0; |
| | | } |
| | | /* 去掉全屏时显示的自带控制条 */ |
| | | video::-webkit-media-controls{ |
| | | display:none !important; |
| | |
| | | |
| | | } |
| | | |
| | | .player-wrapper { |
| | | width: 900px; |
| | | height: 500px; |
| | | /*overflow-y: auto;*/ |
| | | margin: 0 auto; |
| | | text-align: center; |
| | | } |
| | | |
| | | .player .control{ |
| | | position: absolute; |
| | | background: rgba(255, 255, 255, 0.3); |
| | | width: 680px; |
| | | height: 40px; |
| | | border-radius: 5px; |
| | | left: 50%; |
| | | bottom: 10px; |
| | | transform: translateX(-50%); |
| | | border-radius: 10px; |
| | | left: 60%; |
| | | bottom: -10px; |
| | | transform: translateX(-48%); |
| | | } |
| | | .player .control div{ |
| | | display: inline-block; |
| | | line-height: 40px; |
| | | margin-left: 10px; |
| | | margin-left: 14px; |
| | | font-size: 18px; |
| | | color: #fff; |
| | | } |