fix iframe URL

A youtube one for reference: 
<iframe width="560" height="315" src="https://www.youtube.com/embed/9qNPnlA4Ab4" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
This commit is contained in:
Thomas Zarebczan 2019-01-08 14:32:44 -05:00 committed by GitHub
parent 81cb87d047
commit d8baeb41eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,7 +104,7 @@ class AssetInfo extends React.Component {
{(contentType === 'video/mp4') ? (
<ClickToCopy
id={'embed-text-video'}
value={`<iframe src="${host}/video-embed${canonicalUrl}" allowfullscreen="true" style="border:0" /></iframe>`}
value={`<iframe src="${host}/video-embed${canonicalUrl}" allowfullscreen="true" style="border:0"></iframe>`}
/>
) : (
<ClickToCopy