-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OV-352: Add logic for edit video button #357
OV-352: Add logic for edit video button #357
Conversation
…c-for-edit-video-button
@@ -39,13 +36,12 @@ class VideoRepository implements Repository { | |||
.insert({ | |||
userId, | |||
name, | |||
composition, | |||
composition: composition, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why can't you use just composition
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why delete empty lines everywhere? :)
@@ -59,7 +59,7 @@ class VideoService implements Service { | |||
const video = await this.videoRepository.create( | |||
VideoEntity.initializeNew({ | |||
name: payload.name, | |||
composition: JSON.stringify(payload.composition), | |||
composition: payload.composition, | |||
previewUrl: payload.composition?.scenes[0]?.avatar?.url || '', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
previewUrl: payload.composition?.scenes[0]?.avatar?.url || '', | |
previewUrl: payload.composition?.scenes[0]?.avatar?.url ?? '', |
…c-for-edit-video-button
…-for-edit-video-button
Depends on OV-311
In this pr:
When user clicks on edit video button, the studio page opens with loaded video data.
edit.video.button.mp4