All Projects → lmammino → vtt-creator

lmammino / vtt-creator

Licence: MIT license
Very basic Node.js/JavaScript library to generate VTT open subtitles files

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to vtt-creator

pysubs2
A Python library for editing subtitle files
Stars: ✭ 174 (+690.91%)
Mutual labels:  subtitles, subtitles-parsing
ttml2srt
convert TTML subtitles to SRT subtitles
Stars: ✭ 46 (+109.09%)
Mutual labels:  subtitles, subtitles-parsing
ccaptioner
An extension to assign a text track to a video element in a web page
Stars: ✭ 45 (+104.55%)
Mutual labels:  subtitles, vtt
subtitles
Go library and command-line tools for manipulating .srt, .vtt and .ssa subtitles
Stars: ✭ 27 (+22.73%)
Mutual labels:  vtt, subtitles-parsing
Elgindy-VTT-to-SRT-Subtitle-Converter
A tool for converting Web Video Text Tracks Format (WebVTT) subtitle to srt one. As most of video players support srt subtitles and can't open vtt subtitles, We should convert vtt to srt or sub subtitles but it's not easy to do that.
Stars: ✭ 68 (+209.09%)
Mutual labels:  subtitles, vtt
youtube-vtt
▶️ Extract and save WebVTT closed caption tracks from YouTube videos
Stars: ✭ 32 (+45.45%)
Mutual labels:  subtitles, vtt
SABRE.js
Substation Alpha suBtitles REnderer -- A Gpu Accelerated Javascript Advanced SubStation (ASS) Alpha Subtitles Renderer. Renders .ass and .ssa files.
Stars: ✭ 58 (+163.64%)
Mutual labels:  javascript-library, subtitles
fyu
Do your users take your website for granted? Do want to make them using your website living hell? Look no further, F.Y.U. is here!
Stars: ✭ 53 (+140.91%)
Mutual labels:  javascript-library
SSCD.js
Super Simple Collision Detection for JavaScript games!
Stars: ✭ 88 (+300%)
Mutual labels:  javascript-library
FixLanguageTypeJs
Tiny Library for fix problem of language selection in type text.
Stars: ✭ 15 (-31.82%)
Mutual labels:  javascript-library
javascript-strong-password-generator
JavaScript Strong Password Generator: based on Jeff Atwood's Post "Password Rules Are Bullshit".
Stars: ✭ 21 (-4.55%)
Mutual labels:  javascript-library
ChangeNumbersJs
Tiny Library for change number from a language in other language.
Stars: ✭ 14 (-36.36%)
Mutual labels:  javascript-library
togetherness
A virtual and 🕊liberated🕊 tabletop. Make, play, and share your tabletop games with dice, cards, tokens, and more.
Stars: ✭ 32 (+45.45%)
Mutual labels:  vtt
nexus-bridge
Nexus Bridge is a JS library that works with Siebel Presentation Model and allows building Siebel UI using the modern JS frameworks.
Stars: ✭ 21 (-4.55%)
Mutual labels:  javascript-library
toaststrap
A simple, lightweight JavaScript library for showing Bootstrap 5 toast popups.
Stars: ✭ 16 (-27.27%)
Mutual labels:  javascript-library
previewer
A super light-weight JavaScript image previewer [not actively maintained]
Stars: ✭ 24 (+9.09%)
Mutual labels:  javascript-library
necktie
Necktie – a simple DOM binding tool
Stars: ✭ 43 (+95.45%)
Mutual labels:  javascript-library
vanillaview
Easy to use views with vanilla JS semantics
Stars: ✭ 12 (-45.45%)
Mutual labels:  javascript-library
renovation-core
The Frappe Javascript Front End Missing SDK
Stars: ✭ 23 (+4.55%)
Mutual labels:  javascript-library
react-advertising
A JavaScript library for display ads in React applications.
Stars: ✭ 50 (+127.27%)
Mutual labels:  javascript-library

vtt-creator

npm version Build Status codecov.io

Very basic and experimental Node.js/JavaScript library to generate VTT open subtitles files

Install

With NPM:

npm install --save vtt-creator

or with Bower:

With NPM:

bower install --save vtt-creator

Example

To include Vtt in your Node.js project simply use:

var Vtt = require('vtt-creator');

or in a fronted app using bower (Vtt will be available as a global instance):

<script src="bower_components/vtt-creator/dist/vtt.min.js"></script>

Usage:

var v = new Vtt();
v.add(1.05, 4, 'Never drink liquid nitrogen.', 'align:middle line:84%');
v.add(5, 9, ['It will perforate your stomach.', 'You could die.']);

console.log(v.toString());

the previous snippet will generate:

WEBVTT

1
00:00:01.050 --> 00:00:04.000 align:middle line:84%
Never drink liquid nitrogen.

2
00:00:05.000 --> 00:00:09.000
It will perforate your stomach.
You could die.

Contributing

Everyone is very welcome to contribute to this project. You can contribute just by submitting bugs or suggesting improvements by opening an issue on GitHub.

License

Licensed under MIT License. © Luciano Mammino.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].