uniapp modifies video component css style

uniapp video tag default .uni-video-container style background-color with black background

When sliding to play the video list, the first video will flash a black screen, in fact, the style of the label itself sets the background color. Remove the flashing black background as follows:

/deep/ .uni-video-container {
	background-color: transparent;
}

To modify the style of this built-in tag or component, you must add  /deep/  in front of it     to successfully reset the style.

Just modify the style of other built-in components and labels, just follow the gourd painting!

 

Guess you like

Origin blog.csdn.net/u014724048/article/details/129534034