[CORL-1174] Set height on iframe embeds in moderate cards (#3017)

* set height on iframe embeds in moderate cards

* fix: removed stripTags from server code

Co-authored-by: Wyatt Johnson <me@wyattjoh.ca>
This commit is contained in:
Tessa Thornton
2020-07-15 14:58:24 +00:00
committed by GitHub
co-authored by Wyatt Johnson
parent c59c345756
commit d4cb9cde9b
2 changed files with 3 additions and 3 deletions
@@ -50,7 +50,8 @@ const YouTubeMedia: FunctionComponent<Props> = ({
{showAnimated && (
<iframe
frameBorder="0"
width={width || 450}
width={width || 480}
height={height || 270}
allowFullScreen
title="oEmbed"
src={`/api/oembed?type=youtube&url=${cleanUrl}&siteID=${siteID}`}