Comparing version
{ | ||
"name": "srt-webvtt", | ||
"version": "1.0.1", | ||
"version": "1.2.0", | ||
"description": "Convert SRT format subtitle to WebVTT on the fly over HTML5 environment", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -5,3 +5,3 @@ | ||
HTMLMediaElement/Video doesn't support ```.srt``` (SubRip Track) format subtitle as its ```<track>``` source - in order to show captions of your video track either you have to convert the SRT file to WebVTT or write it on your own. Because ```<track src="VALID URL SCHEME">``` requires a valid URL of ```.vtt``` (Web Video Text Track) formated subtitle track. | ||
This library will let you do this on fly and will give you an URL set the source of caption track. | ||
This library will let you do this on the fly and will give you an URL to set the source of caption track. | ||
@@ -8,0 +8,0 @@ <p align="center"> |
16876
35.76%12
9.09%230
103.54%