Merge pull request #862 from lbryio/iframe-fix

fix iframe URL
This commit is contained in:
jessopb 2019-01-08 21:08:30 -05:00 committed by GitHub
commit 6da06c39b6
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') ? ( {(contentType === 'video/mp4') ? (
<ClickToCopy <ClickToCopy
id={'embed-text-video'} 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 <ClickToCopy