more edl work
This commit is contained in:
parent
218b943bc0
commit
e93b22c783
@ -559,8 +559,10 @@
|
||||
e.preventDefault();
|
||||
const api_url = "edl.php";
|
||||
const payload = {};
|
||||
payload.inpoint = "";
|
||||
payload.outpoint = "";
|
||||
const inpoint = document.querySelector("#media_item_edl_inpoint_listitem").getAttribute("data-start");
|
||||
const outpoint = document.querySelector("#media_item_edl_outpoint_listitem").getAttribute("data-stop");
|
||||
payload.inpoint = inpoint || "0";
|
||||
payload.outpoint = outpoint || document.querySelector("#media_library_details > .media_item_details").getAttribute("data-duration");
|
||||
payload.inserts = [];
|
||||
const list_parent = document.querySelector("#media_item_edl_list");
|
||||
const current_items = list_parent.querySelectorAll("li.media_item_edl_insert");
|
||||
|
Loading…
Reference in New Issue
Block a user