Is there a way I can apply border-radius
to the <video>
element?
This is what my video currently looks like:
(image shown here: <a href="https://i.sstatic.net/izKz0.png")
I attempted styling the video tag with CSS, but the changes didn't take effect.
Below is the code snippet I used:
/*CSS*/
video {
border-radius: 10px;
}
<!HTML!>
<div class="fp-player">
<center>
<div id="instructions">
<video id="my_video_1" class="video-js vjs-default-skin" width="320" height="240"
controls preload="none" data-setup='{ "aspectRatio":"640:267", "playbackRates": [1, 1.5, 2] }' poster="https://example.org/image.png">
<source src="https://example.org/video.mp4" type='video/mp4' />
</video>
</center>
</div>