video-editing-timeline
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

video-editing-timeline

install

// npm
npm install video-editing-timeline --save

// yarn
yarn add video-editing-timeline

usage

<canvas id='timeline' />
import VideoEditingTimeline from 'video-editing-timeline';

const config = {
    el: "#canvas",
    canvasWidth: 5000,
    canvasHeight: 50,
    minimumScale: 10, // 一个小刻度长度(单位px)
    minimumScaleTime: 1, // 一个小刻度代表时间(单位秒)
}

const videoEditingTimeline = new VideoEditingTimeline(config)

Package Sidebar

Install

npm i video-editing-timeline

Weekly Downloads

52

Version

1.0.0

License

MIT

Unpacked Size

16.7 kB

Total Files

6

Last publish

Collaborators

  • chenguzhen87