diff --git a/trailer.html b/trailer.html index 9b3fc45..8f7b19e 100644 --- a/trailer.html +++ b/trailer.html @@ -1527,13 +1527,14 @@ : a.from_book.kind === "close" ? 'background:#fdf1dc;color:#8a5a00">close to the book' : 'background:#f1e7e2;color:#b4531f">not in the book - written by the writer') + '' + (a.from_book.near ? 'the book: “' + esc(a.from_book.near) + '”' : '') : '') + + ((a.lead_seconds != null || a.tail_seconds != null) ? ' quiet ' + Number(a.lead_seconds || 0).toFixed(1) + ' s before, ' + Number(a.tail_seconds || 0).toFixed(1) + ' s after' : '') + ' change the words or when they are said' + '' - + (a.lip_sync ? 'Said ' - + '' - + [["start", "at the start of the shot"], ["middle", "in the middle of the shot"], ["end", "at the end of the shot"]].map(function (o) { - return '' + o[1] + ''; }).join("") - + ' — the rest of the shot plays in quiet around it.' : '') + + 'A pause inside the line: write [pause 0.6] between the words (seconds). It is never spoken.' + + (a.lip_sync ? 'Quiet before the line ' + + ' s - what the description puts before the words happens here - and after it ' + + ' s. ' + + 'Leave both empty and the shot holds only the speaking; set either and the shot keeps the quiet. Then press Estimate on the length.' : '') + 'Save' + (a.delivery ? '' + esc(a.delivery) + '' : '') + ''; @@ -2005,9 +2006,9 @@ var lk = el.getAttribute("data-lineset"), lp = lk.split("|"); var lin = document.querySelector('[data-linetext="' + lk + '"]'); el.disabled = true; - var lwh = document.querySelector('[data-linewhen="' + lk + '"]'); + var lld = document.querySelector('[data-linelead="' + lk + '"]'), ltl = document.querySelector('[data-linetail="' + lk + '"]'); r = await act("set_line", { draft_id: CUR, shot_id: lp[0], index: Number(lp[1]), text: lin ? lin.value : "", - say_at: lwh ? lwh.value : "" }); + lead: lld ? lld.value : "", tail: ltl ? ltl.value : "" }); if (r) { showMsg("msg", "Saved. The voice will be recorded again with the new words the next time it is played or filmed.", "ok"); await refresh(); } return; }