clarkwinkelmann
Everything is normal on the PC browser, because it will automatically load the video, so there are screens appearing. I have tested the browsers of Apple, Google, and Android with a mobile phone, but the screen is black, because it does not automatically load the video, so I use it now A picture instead.
my css code:
@media (min-width: 768px) and (max-width: 979px) {
video {
width: 428px;
height: 241px;
background: url('https://pic.chinaz.com/picmap/thumb/201906242208064335_2.jpg') no-repeat center 0;
}}
@media (min-width: 415px) and (max-width: 767px) {
video {
width: 430px;
height: 245px;
background: url('https://pic.chinaz.com/picmap/thumb/201906242208064335_2.jpg') no-repeat center 0;
}
}
@media (min-width: 980px){
video {
width: 640px;
height: 360px;
background: #000;
}
}
@media (max-width: 414px) {
video {
width: 384px;
height: 216px;
background: url('https://pic.chinaz.com/picmap/thumb/201906242208064335_2.jpg') no-repeat center 0;
}
}
@media (max-width: 375px) {
video {
width: 345px;
height: 194px;
background: url('https://pic.chinaz.com/picmap/thumb/201906242208064335_2.jpg') no-repeat center 0;
}
}