Make configurable embeds #676

Merged
skhameneh merged 3 commits from embedConfig into master 2018-11-02 23:47:26 +01:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 2161a49559 - Show all commits

View file

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

View file

@ -3,7 +3,8 @@
<head>
<style type="text/css">
body {
margin:0;
margin: 0;
overflow: hidden;
}
.container {