timeline for multimedia editors
var keycode = ;var timeline = 200;timeline;window;var play = document;timeline;timeline;
with some html:
bundle with browserify:
browserify timeline.js > bundle.js
var timeline =
Create a new timeline
pxps, the number of pixels per second.
Append the timeline element to the html element or query string
Create a new mark
Select the mark at
Remove the mark at
Start playing if not playing, otherwise stop playing.
Set the current time
n in seconds.
Get the current time in seconds.
When there is a new mark, this event fires.
When the mark is activated, this event fires.
When a mark is removed, this event fires.
With npm do:
npm install editor-timeline