title: How to display local video with local subtitles (without webserver)
body: <p>I am searching for a cross-browser video solution able to display local video using a local HTML file, with local subtitles (.srt files).
  I have tried different players (VideoJS, jwPlayer, HTML5 native with jquery.srt, etc.). 
  All works fine when hosted online but none seems to work properly when local.</p>
  
  <p>Unfortunately I can't install any web server or use third party extension.</p>
  
  <p>Anyone have already solved this ?</p>
  
  <p>HTML5 using the track tag with .vtt files (or .srt files with jquery.srt) :
  Works perfectly with IE10+ but not with Chrome 40+ (same comment here <a href="https://stackoverflow.com/questions/23553350/viewing-html5-video-with-captions-offline">Viewing HTML5 video with captions offline</a>)</p>
  
  <pre><code>&lt;video controls preload="none" width="800" height="600" poster="test.jpg"&gt;
  &lt;source src="test.mp4" type='video/mp4' /&gt;
  &lt;track kind="subtitles" src="test_EN.vtt" srclang="en" label="English"&gt;&lt;/track&gt;
  &lt;track kind="subtitles" src="test_FR.vtt" srclang="fr" label="French"&gt;&lt;/track&gt;
  &lt;/video&gt;
  </code></pre>
  
  <p>jwPlayer v6 doesn't work offline, you get this message : <em>"Offline playback not supported"</em>. After few search you can make the video work by using the jwPlayer v5 .swf file but... subtitles will not work.</p>
  
  <pre><code>&lt;script type="text/javascript" src="jwplayer.js"&gt;&lt;/script&gt;
  &lt;div id="oplayer"&gt;Loading the player...&lt;/div&gt;
  &lt;script type="text/javascript"&gt;
  jwplayer("oplayer").setup({file:"test.mp4",  
    image:"test.jpg",width:800,height:600,top:10,left:10,autostart:false,
    tracks:[{file:"test_FR.srt",label:"FR",kind:"captions","default":true},
    {file:"test_EN.srt",label:"EN",kind:"captions","default":true}]});  
  &lt;/script&gt;
  </code></pre>
  
  <p>videoJS is also using HTML5 so, same behavior.</p>
  
  <p><b>NB :</b><br>
  If you want to bypass the local issue with Chrome, you can launch the browser from the command line window with the additional argument ‘–allow-file-access-from-files’</p>
  
  <p><i>src: <a href="http://www.chrome-allow-file-access-from-file.com/" rel="nofollow noreferrer">http://www.chrome-allow-file-access-from-file.com/</a></i></p>