- 提供video和canvas两个html标签
<canvas id="charVideoCanvas"></canvas> <input type="file" id="file" accept="video/*">
- 引入charVideo.js
- 新建对象,config参数为空将使用默认配置,可覆盖:
默认配置:
new CharVideo(config);
const defaultConfig = { space: 10, // 空间 fileInputId: 'file', // 文件选择框id canvasId: 'charVideoCanvas', // 字符画画布 }
-
Notifications
You must be signed in to change notification settings - Fork 0
root-wang/charVideo
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published