]> git.plutz.net Git - serve0/commitdiff
request video preload
authorPaul Hänsch <paul@plutz.net>
Mon, 18 May 2020 14:45:52 +0000 (16:45 +0200)
committerPaul Hänsch <paul@plutz.net>
Mon, 18 May 2020 14:45:52 +0000 (16:45 +0200)
view.sh

diff --git a/view.sh b/view.sh
index 4ee5fb590ec6d731a3f256b03064f4dc77bd9a59..90075f7a86b792153484bf3c2a62be0e760b6874 100644 (file)
--- a/view.sh
+++ b/view.sh
@@ -29,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(&#34;mainvideo&#34;));" View 180° Stereoscopic]
   [a "javascript:stereoview(360, document.getElementById(&#34;mainvideo&#34;));" View 360° Stereoscopic]