Skip to main content
Participant
Oct 9, 2023 12:25 AM UTC
Answered

Script move video to another track

Hello everyone! Currently, I want to use JavaScript to move selected video clips from track 1 to track 2, but I encountered an error and haven't been able to achieve it yet. Can someone help me with this? Thank you!

This topic is closed to new replies. Start a new post to keep the conversation going.
bbb_999
bbb_999Correct answer
Community Manager
Oct 9, 2023 10:27 PM UTC

trackItem.move() changes the temporal position of a trackItem within a track; it was never designed to move a trackItem, to different tracks. 

2 replies

bbb_999
Community Manager
bbb_999Community ManagerCorrect answer
Community Manager
Oct 9, 2023 10:27 PM UTC

trackItem.move() changes the temporal position of a trackItem within a track; it was never designed to move a trackItem, to different tracks. 

Translate
Participant
Jan 23, 2024 6:55 PM UTC

Hi @bbb_999,
I was recently trying to use trackItem.move() property to move a clip across the timeline within the same track but with version 24, I couldn't find the move method in the TrackItem class.
Is there any other way to move clips within the same track?

Translate