4 <div class="panel" id="videoview">
5 <a href="#" onclick="javascript:hide('videoview');" class="panel">Dismiss</a>
7 <a href="$video">Full</a> <!-- a href="$reenc">Mobile</a -->
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">
17 <a class="meta edit" href="#" onclick="javascript:hide('viewmeta');show_iblock('editmeta')">Edit</a>
19 <span class="info property">$(($length / 60)):$(($length % 60)) min</span>
20 <span class="info property">Width: $width</span>
21 <span class="info property">Height: $height</span><br>
23 <span class="label tags">Tags:</span>
24 $(echo "$tags" |sed -r 's:\|*([^|]+)\|*:<span class="info tag">\1</span>:g')
25 $([ -n "$description" ] && echo "<span class=\"info description\">$(_wiki <<<"$description")</span>")
28 <form class="videoinfo" id="editmeta" style="display: none;"
29 action="?action=meta&${page_this}" method="post" accept-charset="UTF-8">
30 <input type="hidden" name="length" value="$length">
31 <input type="hidden" name="width" value="$width">
32 <input type="hidden" name="height" value="$height">
35 <a class="meta cancel" href="#" onclick="javascript:hide('editmeta');show_iblock('viewmeta')">Cancel</a>
37 <span class="info property">$(($length / 60)):$(($length % 60)) min</span>
38 <span class="info property">Width: $width</span>
39 <span class="info property">Height: $height</span>
41 <span class="label tags">Tags:</span>
42 <select class="edit tags" name="tag" size="16" multiple>
43 $(echo "$taglist" |while read line; do
44 echo "<option $(egrep -q "(^|.*\|)$line(\|.*|$)" "$meta" && echo -n selected)>$line</option>"
48 <span class="label moretags">Additional Tags (one per line):</span>
49 <textarea class="edit moretags" name="tags" rows="4"></textarea>
51 <span class="label description">Description:</span>
52 <textarea class="edit description" name="description" rows="4">$description</textarea>
53 <input type="submit" value="Submit">
54 <input type="submit" name="trash" value="Delete Video">
55 <!-- input type="submit" name="cancel" value="Cancel" -->
60 # vi:set filetype=html: