/** @format */

.videoComp {
  width: 100%;
  height: 100%;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  .hidden {
    display: none;
  }
  .spin {
    width: 100%;
    height: 100%;
    color: #fff;
    :global {
      .ant-spin-container {
        height: 100%;
      }
    }
  }
  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;
  }
  // img {
  //   width: 30%;
  //   min-width: 40px;

  //   z-index: 3;
  // }
}
.videoBtn {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.videoTool {
  z-index: 3;
  position: absolute;
  width: 100%;
  bottom: 0;
  height: 12%;
  min-height: 30px;
  justify-content: space-between;
  background-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.33),
    rgba(0, 0, 0, 0.86)
  );
  // padding: 6px;
  display: flex;
  align-items: center;
  .toolImg {
    height: 64%;
    cursor: pointer;
    width: auto !important;
    // width: 20px;
  }
}
.error {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 12px;
  .errorContent {
    width: 100%;
    text-align: center;
  }
  .errorImg {
    width: 16%;
    margin-bottom: 6px;
    max-width: 30px;
  }
}
