Skip to content

Commit 6229d96

Browse files
committed
Update readme
1 parent 3cfe7f8 commit 6229d96

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,9 @@
44
55
**Why is zero external dependencies important?**
66

7-
Using external dependencies not only make you code base very large, but can and will pose a security risks over time.
8-
97
Officially only VTT files are supported by the HTML5 track element.
108
This package will convert your SRT subtitles on the fly to VTT subtitles.
119

12-
### 👉 What's new in v2?
13-
- Updated code base to modern JavaScript
14-
- Added [TextDecoder](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder?retiredLocale=nl) to support all kinds of encodings
15-
- SRT can be encoded in [multiple formats](https://en.wikipedia.org/wiki/SubRip#Text_encoding), while WebVTT should only be [encoded in UTF-8](https://www.w3.org/TR/webvtt1/#file-structure) format.
16-
- Does not break the TextTrack selection in video elements
17-
- The previous version broke the TextTrack selection in the captions' menu. So when you had multiple captions you could not switch between them.
18-
- Is available as a package (ES module) or as a ready to use script
19-
- No external dependencies
20-
- More functionality included
21-
- TypeScript support
22-
2310
### Installation
2411

2512
As a NPM package, works both in the browser and NodeJS

0 commit comments

Comments
 (0)