Picture tools stay available on a filmed shot; a stale clip says so
This commit is contained in:
parent
797fa52b87
commit
a66c6b352e
1 changed files with 4 additions and 1 deletions
|
|
@ -1032,7 +1032,9 @@
|
|||
// Why the last attempt at these pictures failed, in words - an author
|
||||
// looking at an unchanged frame otherwise concludes the button is broken.
|
||||
var err = s.draw_error ? '<p class="cont" style="color:#b4531f">' + esc(s.draw_error) + '</p>' : "";
|
||||
if (!s.opening_url || s.clip_url) return err;
|
||||
// Available on a filmed shot too: a bad clip is very often a bad still,
|
||||
// and that is exactly when the author needs to change the picture.
|
||||
if (!s.opening_url) return err;
|
||||
if (s.fixing || s.drawing)
|
||||
return '<p class="busy">Redrawing this scene\u2019s pictures from your note\u2026</p>';
|
||||
return '<div class="ffault"><input type="text" id="ff-' + esc(s.id) + '" maxlength="400" '
|
||||
|
|
@ -1150,6 +1152,7 @@
|
|||
media = '<div class="frames"><figure><video src="' + esc(s.clip_url) + '" controls '
|
||||
+ 'preload="metadata"></video><figcaption>the filmed shot'
|
||||
+ (s.clip_seconds ? ' · ' + Number(s.clip_seconds).toFixed(1) + 's' : '')
|
||||
+ (s.clip_stale ? ' · <b style="color:#b4531f">filmed from an older picture — film it again</b>' : '')
|
||||
+ '</figcaption></figure>'
|
||||
+ (s.opening_url ? '<figure><img data-zoom="' + esc("shot " + s.id + " — the frame it was filmed from")
|
||||
+ '" src="' + esc(s.opening_url) + '" alt=""><figcaption>filmed from this frame</figcaption></figure>' : '')
|
||||
|
|
|
|||
Loading…
Reference in a new issue