/** @format */ import styled from 'styled-components'; const VideoComp = styled.div` width: 100%; height: 100%; position: relative; background: rgba(0, 0, 0, 0.3); .addr { height: 24px; background: rgba(0, 0, 0, 0.6); position: absolute; width: 100%; bottom: 0; display: flex; justify-content: space-between; padding: 0 6px; img { width: 14px; height: 14px; } .desc { color: #fff; } .full { img { display: initial; } } } .hidden { display: none; } .spin { width: 100%; height: 100%; color: #fff; .ant-spin-container { height: 100%; } .ant-spin-dot-item { background-color: #fff; } } video { width: 100%; height: 100%; object-fit: fill; } ::-webkit-media-controls-current-time-display { display: none !important; } ::-webkit-media-controls-time-remaining-display { display: none !important; } `; const Error = styled.div` display: flex; justify-content: center; align-items: center; height: 100%; font-size: 12px; .errorImg { width: 16%; margin-bottom: 6px; max-width: 30px; } .refresh-img { width: 14px; height: 14px; vertical-align: text-top; cursor: pointer; } `; const ErrorContent = styled.div` width: 100%; text-align: center; color: #fff; `; export { VideoComp, Error, ErrorContent };