mirror of
https://github.com/mue/mue.git
synced 2026-07-19 06:54:10 +02:00
fix: style fixes and custom background video support for upload file
This commit is contained in:
@@ -191,7 +191,7 @@ export default class Background extends React.PureComponent {
|
||||
|
||||
if (customBackground !== '') {
|
||||
// video background
|
||||
if (customBackground.endsWith('.mp4') || customBackground.endsWith('.webm') || customBackground.endsWith('.ogg')) {
|
||||
if (customBackground.startsWith('data:video/') || customBackground.endsWith('.mp4') || customBackground.endsWith('.webm') || customBackground.endsWith('.ogg')) {
|
||||
return this.setState({
|
||||
url: customBackground,
|
||||
video: true,
|
||||
|
||||
Reference in New Issue
Block a user