Skip to main content
Inspiring
May 6, 2020
Answered

CEP: Drag and Drop between Premiere and Extension

  • May 6, 2020
  • 1 reply
  • 1301 views

I want the user to be able to drag video items from Media Browser to the extension panel. And here is my ondrop callback of the html element:

function drop(ev) {
     ev.preventDefault();
     var data = ev.dataTransfer;
     alert('data.files.length : '+data.files.length);
     alert('data.items.length : '+data.items.length);
}

Result:

data.files.length : 0
data.items.length : 0

Question:

How can I know which video item was draged ? Is it possible at all ?

 

This topic has been closed for replies.
Correct answer Bruce Bullis

Dragging one or more file paths FROM a panel, TO PPro is supported; dragging from PPro to a panel is not supported. 

1 reply

Bruce Bullis
Bruce BullisCorrect answer
Legend
May 6, 2020

Dragging one or more file paths FROM a panel, TO PPro is supported; dragging from PPro to a panel is not supported. 

Participant
June 24, 2024

I have develop the custom plugin. How to drag the file from the panel to PPro timeline?