4 <div class="panel" id="videoview">
5 <span style="float:right;"><a href="#" onclick="javascript:hide_block('videoview');" class="panel">Dismiss</a></span>
7 <a href="$video">Full</a> <!-- a href="$reenc">Mobile</a --><br>
8 <!--iframe src="$video" width="100%" height="400px"-->
10 <!-- source src="$reenc" type='video/webm; codecs="vp8.0, mp3"' -->
11 <source src="$video" type='video/mp4; codecs="avc1.4D401E, mp3"'>"
12 </video><!--/iframe-->
15 <div class="videoinfo" id="viewmeta">
16 <b>$info</b><a class="panel" href="#" onclick="javascript:hide_inline('viewmeta');show_inline('editmeta')">Edit</a><br>
17 <span class="coord">$(($length / 60)):$(($length % 60)) min</span>
18 <span class="coord">Width: $width</span><span class="coord">Height: $height</span><br>
19 <br><br>Tags:<span class="tag">$(sed 's,|$,,;s,|,</span> <span class="tag">,g' <<<"$tags")</span>
20 <br><br>$(_wiki <<<"$description")
23 <div class="videoinfo" id="editmeta" style="display: none;">
24 <form action="?action=meta&i=$info" method="post" accept-charset="UTF-8">
25 <input type="hidden" name="f" value="$filter"> <input type="hidden" name="s" value="$search"> <input type="hidden" name="p" value="$page"> <input type="hidden" name="o" value="$order">
26 <input type="hidden" name="length" value="$length"> <input type="hidden" name="width" value="$width">
27 <input type="hidden" name="height" value="$height">
28 <b>$info</b><a class="panel" href="#" onclick="javascript:hide_inline('editmeta');show_inline('viewmeta')">Cancel</a><br>
29 <span class="coord">$(($length / 60)):$(($length % 60)) min</span>
30 <span class="coord">Width: $width</span><span class="coord">Height: $height</span><br><br>
34 <select name="tag" size="16" multiple>
35 $(echo "$taglist" |while read line; do
36 echo "<option $(egrep -q "(^|.*\|)$line(\|.*|$)" "$meta" && echo -n selected)>$line</option>"
40 Additional Tags (one per line):<br>
41 <textarea name="tags" rows="16" style="width: 99%"></textarea><br><br>
44 <textarea name="description" rows="4" style="width: 99%">$description</textarea><br>
45 <input type="submit" value="Submit">
46 <input type="submit" name="trash" value="Delete Video">
47 <!-- input type="submit" name="cancel" value="Cancel" -->
53 # vi:set filetype=html: