tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

1389304.html (511B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4  <title>Media test: Negative duration.</title>
      5 </head>
      6 <body>
      7 
      8 <video id="v" controls src="1389304.mp4">
      9 </video>
     10 <p id="msg"></p>
     11 
     12 <script type="text/javascript">
     13 
     14 function log(x) {
     15  msg.innerHTML = x + "<br>";
     16 }
     17 
     18 v.play();
     19 v.onended = function() {
     20 log("endded!");
     21 let seekable = v.seekable;
     22 for (let i = 0; i < seekable.length; ++i) {
     23 	let start = seekable.start(i);
     24 	let end = seekable.end(i);
     25 	log(`[${i}]: start=${start} end=${end}`);
     26 }
     27 }
     28 
     29 </script>
     30 
     31 </body>
     32 </html>