SubLime is a tool to overlay subtitles loaded from an SRT file over an HTML5 video element in your browser. It is available as a
It is known to work with YouTube, Netflix and vimeo videos (if HTML5 video is used).
In case there's more than one video on a webpage, just pressing the Chrome extension button again, or running the bookmarklet again, should move the subtitles to the next video.
There's also a small tool which can play local video files (supported video formats will depend on your browser):
SubLime is licensed under the MIT license:
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
In case the subtitles from your file are not well synchronized to the time of the
video, you can resync them in a number of ways. Let's call
v the video time and
s the subtitle time, then a time offset
o and time scale factor
f can be
set. For a specific video time
v, the corresponding time looked for in the
subtitle file is then
s(v) = v/f+o
Alternatively, the subtitle time
s will be shown at video time
v(s) = (s-o)*f
The values of
f can be set directly, or can be calculated by matching the
subtitles to the video at two times, pressing 'k' and 'l' respectively at each time.
Except for the key to open the preferences dialog, all key bindings are configurable.
For YouTube, Netflix and vimeo videos, going to full screen should preserve the subtitles. In case of problems, it may be possible to instruct your browser to make its window as large as possible (e.g. by pressing F11 or going to 'Presentation Mode').
The entire source code can be found on GitHub.
You can find contact information on my Google+ page.