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