X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=view.sh;h=90075f7a86b792153484bf3c2a62be0e760b6874;hb=d036b70f149d2b3cc296470644c676cd81a3cc2c;hp=887876d9beefe810f0213645b01b2502c3a5fa0a;hpb=5b358251b1771eba1eb00cdc65c9f0e87cde28ef;p=serve0 diff --git a/view.sh b/view.sh index 887876d..90075f7 100644 --- a/view.sh +++ b/view.sh @@ -11,7 +11,9 @@ printf 'Content-Type: text/html;charset=utf-8\r\n\r\n' { printf ' [!DOCTYPE HTML] -[html [head [title View] +[html [head [title \n' + HTML "${ITEM##*/}" + printf '] [meta name="viewport" content="width=device-width"] [link rel=stylesheet href="/style.css" ] ] [body #view @@ -27,7 +29,7 @@ printf 'Content-Type: text/html;charset=utf-8\r\n\r\n' w_advsearch w_prefs printf ' - [video #mainvideo controls="controls" [source src="?a=download" type="video/mp4"]] + [video #mainvideo controls="controls" preload="auto" [source src="?a=download" type="video/mp4"]] [a "?a=download" Download] [a "javascript:stereoview(180, document.getElementById("mainvideo"));" View 180° Stereoscopic] [a "javascript:stereoview(360, document.getElementById("mainvideo"));" View 360° Stereoscopic]