Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 72 This week: 2 | All time: 469 This week: 2![]() |
Version | License | JavaScript version | Categories | |||
subtitle-grabber 1.0.0 | MIT/X Consortium ... | 5 | Text processing, Video |
Usage: /** * selector: string or video element */ var grabber = new SubtitleGrabber(selector); /** * return TextTrack Array */ grabber.getTextTracks(); /** * index: selected track index, encoding: character encoding * callBack: function */ grabber.getSrtLines(index, encoding, callBack); grabber.getSrtLines(0, 'utf-8', function(lines){console.log(lines);}); /** * download video */ grabber.downloadVideo(); /** * download srt file */ grabber.downloadSrt(index, encoding, filename); grabber.downloadSrt(0, 'utf-8', 'video.srt'); |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.