fix video sizing

This commit is contained in:
seotts 2020-10-14 09:22:18 -04:00 committed by Karishma Chadha
parent cc67b79f00
commit 17b658316b

View file

@ -1090,6 +1090,7 @@ class AnnualReport extends React.Component {
</div>
<div className="video-container">
<div className="video-background blm">
<MediaQuery minWidth={frameless.tabletPortrait}>
<VideoPreview
buttonMessage={
this.props.intl.formatMessage({id: 'annualReport.watchVideo'})
@ -1100,6 +1101,19 @@ class AnnualReport extends React.Component {
videoId="joal01i8b1"
videoWidth="568"
/>
</MediaQuery>
<MediaQuery maxWidth={frameless.tabletPortrait - 1}>
<VideoPreview
buttonMessage={
this.props.intl.formatMessage({id: 'annualReport.watchVideo'})
}
thumbnail="/images/annual-report/initiatives/BLM Video Thumbnail.png"
thumbnailWidth="400"
videoHeight="216"
videoId="joal01i8b1"
videoWidth="380"
/>
</MediaQuery>
</div>
</div>
</div>