tor-browser

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

navigate_cue_position-1.html (723B)


      1 <!doctype html>
      2 <html>
      3 <title>WebVTT rendering, cue position after navigation</title>
      4 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
      5 <style>
      6 video {
      7  outline: solid;
      8  width: 320px;
      9  height: 240px;
     10 }
     11 ::cue {
     12  font-family: Ahem, sans-serif;
     13  font-size: 50px;
     14  color: green;
     15 }
     16 </style>
     17 <video autoplay onplaying="this.onplaying = null;
     18                           this.pause();
     19                           this.currentTime = 0;
     20                           ">
     21    <source src="/media/white.webm" type="video/webm">
     22    <source src="/media/white.mp4" type="video/mp4">
     23    <track src=support/foo.vtt>
     24    <script>
     25    document.getElementsByTagName('track')[0].track.mode = 'showing';
     26    </script>
     27 </video>