OpenCut icon indicating copy to clipboard operation
OpenCut copied to clipboard

[FEATURE] A button is needed to preview video and audio files in the media panel without adding them to the timeline and to play the audio file.

Open iguzelofficial2 opened this issue 1 year ago • 8 comments

Problem

A button is needed in the media panel to preview and play video and audio files without adding them to the timeline. User-uploaded media files cannot be previewed. To play a video or audio file, they must add it to the timeline.

https://github.com/user-attachments/assets/51f1ffb1-2f90-42a5-b45c-dd0a260faa6d

Solution

A button can be added to preview media files. Audio files can be played with Audio.

Alternative

A button can be added to preview media files. Audio files can be played with Audio.

Anything else?

No response

iguzelofficial2 avatar Aug 13 '25 11:08 iguzelofficial2

can I work on it?

how do we exactly want the preview panel to look like? as a dialog modal? or alongside the edit-preview panel

ayush18pop avatar Aug 13 '25 15:08 ayush18pop

I think an intuitive solution would be to allow users to preview media by simply hovering over it, instead of opening a dialog modal. However, the current media thumbnails are quite small, which might make hovering previews less effective. To improve visibility, we could display one video per row instead of two, giving each media element more width. This way, hovering over a media item to preview it would look and feel much better. @mazeincoding , what do you think about this?

saiteja-in avatar Aug 14 '25 07:08 saiteja-in

Like After Effects and Premiere, when clicked, only that media source can be displayed on the preview canvas. Or when hovered, a tooltip view can be displayed, providing fast and cost-free development. @ayush18pop @saiteja-in @mazeincoding

iguzelofficial avatar Aug 14 '25 11:08 iguzelofficial

@mazeincoding can i work on this ?

saiteja-in avatar Aug 16 '25 08:08 saiteja-in

@saiteja-in yes!

Like After Effects and Premiere, when clicked, only that media source can be displayed on the preview canvas

exactly, this makes sense

mazeincoding avatar Aug 16 '25 09:08 mazeincoding

alrightt, I'm also trying to implement this! I'll update soon! @mazeincoding @iguzelofficial

Like After Effects and Premiere, when clicked, only that media source can be displayed on the preview canvas. Or when hovered, a tooltip view can be displayed, providing fast and cost-free development. @ayush18pop @saiteja-in @mazeincoding

ayush18pop avatar Aug 17 '25 09:08 ayush18pop

hey, anyone have idea about this error? i havent touched the AudioWaveform it's not affecting any functionality Image

ayush18pop avatar Aug 17 '25 13:08 ayush18pop

please review this PR, feature is implemented we still probably need to create an issue for the timeline for the preview panel @mazeincoding @iguzelofficial

ayush18pop avatar Aug 17 '25 15:08 ayush18pop