mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-25 13:51:13 +00:00
Added aspect ratio to the video (#2268)
This commit is contained in:
parent
7702c041e5
commit
5784f9e0b5
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
// if direct video link
|
||||
if (url && isVideo(url)) {
|
||||
return (
|
||||
<div className="embed-responsive mt-3">
|
||||
<div className="embed-responsive ratio ratio-16x9 mt-3">
|
||||
<video muted controls className="embed-responsive-item col-12">
|
||||
<source src={url} type="video/mp4" />
|
||||
</video>
|
||||
|
|
Loading…
Reference in a new issue