I'm using Embed code from youtube and give it CSS to border radius:
.iframe {
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
the iframe get border radius but after I clicked on start the video, the corners changed back to by squared.
How can I force the iframe to get border radius?
I found another post: youtube embedded video as iframe with border-radius but it's not help to me.
I add two images to explain my question: