diff --git a/packages/app/src/components/MusicStudio/EnhancedLyricsEditor/components/VideoEditor/index.jsx b/packages/app/src/components/MusicStudio/EnhancedLyricsEditor/components/VideoEditor/index.jsx
index f8907f5f..52020552 100644
--- a/packages/app/src/components/MusicStudio/EnhancedLyricsEditor/components/VideoEditor/index.jsx
+++ b/packages/app/src/components/MusicStudio/EnhancedLyricsEditor/components/VideoEditor/index.jsx
@@ -12,95 +12,96 @@ import "./index.less"
dayjs.extend(customParseFormat)
const VideoEditor = (props) => {
- function handleChange(key, value) {
- if (typeof props.onChange !== "function") {
- return false
- }
+ function handleChange(key, value) {
+ if (typeof props.onChange !== "function") {
+ return false
+ }
- props.onChange(key, value)
- }
+ props.onChange(key, value)
+ }
- return
-
-
- Video
-
+ return (
+
+
+
+ Video
+
- {
- (!props.videoSourceURL) &&
}
- description="No video"
- />
- }
+ {!props.videoSourceURL && (
+
}
+ description="No video"
+ />
+ )}
- {
- props.videoSourceURL &&
-
-
- }
+ {props.videoSourceURL && (
+
+
+
+ )}
-
-
-
-
- Start video sync at
-
+
+
+
+
+ Start video sync at
+
- {props.startSyncAt ?? "not set"}
-
+
{props.startSyncAt ?? "not set"}
+
-
-
Set to:
+
+
Set to:
-
{
- handleChange("startSyncAt", str)
- }}
- />
-
-
+
{
+ handleChange("startSyncAt", str)
+ }}
+ />
+
+
-
-
{
- handleChange("videoSourceURL", response.url)
- }}
- accept={[
- "video/*",
- ]}
- headers={{
- "transmux": "mq-hls",
- }}
- disabled={props.loading}
- >
- Upload video
-
-
- or
-
-
{
- handleChange("videoSourceURL", e.target.value)
- }}
- value={props.videoSourceURL}
- disabled={props.loading}
- />
-
-
+
+
{
+ handleChange("videoSourceURL", response.url)
+ }}
+ accept={["video/*"]}
+ headers={{
+ transformations: "mq-hls",
+ }}
+ disabled={props.loading}
+ >
+ Upload video
+
+ or
+
{
+ handleChange("videoSourceURL", e.target.value)
+ }}
+ value={props.videoSourceURL}
+ disabled={props.loading}
+ />
+
+
+ )
}
-export default VideoEditor
\ No newline at end of file
+export default VideoEditor