MIT License
All major browsers.
Some browsers disable XMLHttpRequest on local files by default.
Just add the class name "playr_video" to your video tag:
<video src="https://github.com/delphiki/Playr/raw/master/myVideo.ext" class="playr_video">
<track kind="subtitles" label="English Subtitles" srclang="en" src="https://github.com/delphiki/Playr/raw/master/mySubs.srt" /> // optional
</video>
You can now force the caption rendering if you prefer to use Playr's rendering over the native one, by adding the following attribute:
<video ... data-rendering="playr">
Working features:
Note on cue timestamps:
00:00:17,556 --> 00:00:20,631
Can you hear it?
<00:00:18,556>The noise, <00:00:19,600>the drumbeat?
::cue:past & ::cue:future are remplaced with the CSS classes playr_cue_past & playr_cue_future. They're not defined by default. Customize them as you wish.
See demos on the project page.