<div id="videoview">
- <h1>$info</h1>
+ <h1>$(htmlsafe "$info")</h1>
- <a href="$video">Download</a>
- <video autoplay controls>
- <source src="$video" type='video/mp4; codecs="avc1.4D401E, mp3"'>"
+ <a href="$(urlsafe "$video")">Download</a>
+ <a href="javascript:stereoview(180, document.getElementById('mainvideo'));">View 180º Steroscopic</a>
+ <a href="javascript:stereoview(360, document.getElementById('mainvideo'));">View 360º Steroscopic</a>
+ <video id="mainvideo" autoplay controls>
+ <source src="$(urlsafe "$video")" type='video/mp4; codecs="avc1.4D401E, mp3"'>"
</video>
<span class="info length">$(printf "%d:%02d min" $(($length / 60)) $(($length % 60)) )</span>
${description:+<span class="info description">$(printf %s "$description" |_wiki)</span>}
</div>
+<script type="text/javascript" src="?static=stereoview.js"></script>
+
<form class="panel switchable bottom" id="tagger" action="?action=meta&${page_this}" method="post" accept-charset="UTF-8">
<input type="hidden" name="referrer" value="$(attribsafe "${REQUEST_URI}")">
<input type="hidden" name="length" value="$length">