Skip to content

A library to render many subtitles format on HTML5 video in the browser.

License

Notifications You must be signed in to change notification settings

myungjaeyu/vttizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vttizer

NPM Version

A library to render many subtitles format on HTML5 video in the browser.

NPM Badge

Demo

https://myungjaeyu.github.io/vttizer/example

Install

<script src="https://cdn.rawgit.com/myungjaeyu/vttizer/master/dist/vttizer.min.js"></script>

Usage

var subtitles = `...`,
    format    = 'smi' || 'srt' || 'vtt';

var vttizer = new Vttizer(subtitles, format);
vttizer.render(videoElement);

Support

✔ SAMI(.smi)

SMI

✔ SubRip(.srt)

SRT

✔ WebVTT(.vtt)

VTT

✔ Movie Sub

  • The.Ritual.2017.1080p.WEB-DL.DD5.1.H264-FGT.smi

MOVIE_SUB


Have Fun! 👀 💥

CASE_0 CASE_1

License

MIT

About

A library to render many subtitles format on HTML5 video in the browser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages