mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-23 04:41:14 +00:00
Merge pull request #1437 from cloventt/expand-video-embeds-to-fullwidth
Expand video embeds to fullwidth
This commit is contained in:
commit
468d78a06f
1 changed files with 8 additions and 4 deletions
|
@ -75,10 +75,14 @@ export class MetadataCard extends Component<
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{this.state.expanded && post.embed_video_url && (
|
{this.state.expanded && post.embed_video_url && (
|
||||||
<iframe
|
<div className="ratio ratio-16x9">
|
||||||
className="post-metadata-iframe"
|
<iframe
|
||||||
src={post.embed_video_url}
|
allowFullScreen
|
||||||
></iframe>
|
className="post-metadata-iframe"
|
||||||
|
src={post.embed_video_url}
|
||||||
|
title={post.embed_title}
|
||||||
|
></iframe>
|
||||||
|
</div>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue