Rick Eyre: WebVTT (vtt.js) on Nodejs |
Good news! You can now use vtt.js
on Nodejs
. There
are two different ways you can get it on npm
:
WebVTT
, VTTCue
, and
VTTRegion
implementations into a nice Node package for you. Using
this method you will have to provide your own window
object for
vtt.js
to run on. See the docs
for more information.
vtt.js
. node-vtt
runs
vtt.js
on an instance of PhantomJS
. This means that you
don't have to provide your own window
object for vtt.js
since it will already be running in the context of a web page. It also provides
a couple of convenience functions such as parseFile
, processFile
,
and others. See the docs for more information.
Комментировать | « Пред. запись — К дневнику — След. запись » | Страницы: [1] [Новые] |