Create a div container with rounded corners and overflow:hidden. Then place the video in it.
<style>
.video-mask{
width: 350px;
border-radius: 10px;
overflow: hidden;
}
</style>
<div class="video-mask">
<video></video>
</div>
More Related Contents:
- Background color not showing in print preview
- Blurry text after using CSS transform: scale(); in Chrome
- CSS Border radius not trimming image on Webkit
- CSS3 – How to style the selected text in textareas and inputs in Chrome?
- Chrome / Safari not filling 100% height of flex parent
- How can I force WebKit to redraw/repaint to propagate style changes?
- css transform, jagged edges in chrome
- HTML5 video will not loop
- Webkit CSS to control the box around the color in an input[type=color]?
- Bug with transform: scale and overflow: hidden in Chrome
- Webkit bug with `:hover` and multiple adjacent-sibling selectors
- webkit-transform overwrites z-index ordering in Chrome 13
- content attribute of img elements
- HTML 5 Video “autoplay” not automatically starting in CHROME
- CSS3 calc(100%-88px) not working in Chrome [duplicate]
- Disable download button for Google Chrome?
- WebKit CSS content Unicode bug?
- How to keep a flex item from overflowing due to its text? [duplicate]
- “CAUTION: provisional headers are shown” in Chrome debugger
- When running WebDriver with Chrome browser, getting message, “Only local connections are allowed” even though browser launches properly
- Debugging WebSocket in Google Chrome
- Favicon not showing up in Google Chrome [duplicate]
- Webkit-based blurry/distorted text post-animation via translate3d
- How to disable CSS in Python selenium using ChromeOptions
- Freeze screen in chrome debugger / DevTools panel for popover inspection?
- How to download a CRX file from the Chrome web store for a given ID? [closed]
- programmatically changing webkit-transformation values in animation rules
- Add text above HTML5 Video
- chrome could play html5 mp4 video but html5test said chrome did not support mp4 video codec
- Image scaling by CSS: is there a webkit alternative for -moz-crisp-edges?