Refactor: remove AGPL imgly dependency and migrate background removal to python backend
This commit is contained in:
@@ -69,7 +69,7 @@ export const RenderPage: React.FC = () => {
|
||||
<div style={{
|
||||
width: '100vw',
|
||||
height: '100vh',
|
||||
background: '#000',
|
||||
background: 'transparent',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
@@ -87,8 +87,16 @@ export const RenderPage: React.FC = () => {
|
||||
width: config.width,
|
||||
height: config.height,
|
||||
overflow: 'hidden',
|
||||
background: '#000',
|
||||
background: 'transparent',
|
||||
}}>
|
||||
<style>{`
|
||||
html, body, #root {
|
||||
background: transparent !important;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
`}</style>
|
||||
<BradlyPlayer
|
||||
ref={playerRef}
|
||||
component={BrandComposition}
|
||||
|
||||
Reference in New Issue
Block a user