Make configurable embeds #676

Merged
skhameneh merged 3 commits from embedConfig into master 2018-11-02 23:47:26 +01:00
Showing only changes of commit f53bf150a8 - Show all commits

View file

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