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
client/src/containers/AssetInfo
server/views/layouts

View file

@ -90,7 +90,7 @@ class AssetInfo extends React.Component {
{(contentType === 'video/mp4') ? ( {(contentType === 'video/mp4') ? (
<ClickToCopy <ClickToCopy
id={'embed-text-video'} 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 <ClickToCopy

View file

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