Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2016-05-19 (5 months ago) ![]() | Not enough user ratings | Total: 45 | All time: 456 This week: 18![]() |
Version | License | JavaScript version | Categories | |||
subtitle-grabber 1.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.