This commit is contained in:
Markos Gogoulos 2025-05-27 12:27:45 +03:00
parent aa94ae5b89
commit b6a197a00f
4 changed files with 6 additions and 11 deletions

View File

@ -446,6 +446,10 @@ def edit_video(request):
messages.add_message(request, messages.INFO, "Media processing has not finished yet") messages.add_message(request, messages.INFO, "Media processing has not finished yet")
return HttpResponseRedirect(media.get_absolute_url()) return HttpResponseRedirect(media.get_absolute_url())
if media.encoding_status in ["pending", "running"]:
video_msg = "Media encoding hasn't finished yet. Attempting to show the original video file"
messages.add_message(request, messages.INFO, video_msg)
return render( return render(
request, request,
"cms/edit_video.html", "cms/edit_video.html",

View File

@ -3939,9 +3939,6 @@ const TimelineControls = ({
<p className="modal-message"> <p className="modal-message">
You're about to replace the original video with this trimmed version. This can't be undone. You're about to replace the original video with this trimmed version. This can't be undone.
</p> </p>
<p className="modal-message">
The original video will be replaced with this trimmed version.
</p>
</Modal> </Modal>
{/* Save As Copy Modal */} {/* Save As Copy Modal */}
@ -3973,9 +3970,6 @@ const TimelineControls = ({
<p className="modal-message"> <p className="modal-message">
You're about to save a new copy with your edits. The original video will stay the same. Find the new file in your My Media folder - named after the original file. You're about to save a new copy with your edits. The original video will stay the same. Find the new file in your My Media folder - named after the original file.
</p> </p>
<p className="modal-message">
A new copy of the video will be created with your trimmed segments.
</p>
</Modal> </Modal>
{/* Processing Modal */} {/* Processing Modal */}
@ -4021,9 +4015,6 @@ const TimelineControls = ({
<p className="modal-message"> <p className="modal-message">
You're about to save each segment as a separate video. Find the new files in your My Media folder - named after the original file. You're about to save each segment as a separate video. Find the new files in your My Media folder - named after the original file.
</p> </p>
<p className="modal-message">
Each segment will be saved with its name as the filename.
</p>
</Modal> </Modal>
{/* Success Modal */} {/* Success Modal */}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long