pansyjs / video-editing-timeline Goto Github PK
View Code? Open in Web Editor NEWTimeline for video editing(为视频编辑而写时间线)
Home Page: https://video-editing-timeline.vercel.app/
License: MIT License
Timeline for video editing(为视频编辑而写时间线)
Home Page: https://video-editing-timeline.vercel.app/
License: MIT License
感谢作者的开源
Hello,
For cctv app I need infinite 24h timeline.
Does it posible I achieve something like this with your code?
This view screenshot is from mobile app. When you touch the timeline it loop through 24 hours and change to previous or nextion depends of direction. black triangle above / bellow indicate the current position
We can hire todo this job.
Regards
代码如下,页面也出不来 那个时间轴啊
import React, { memo, useMemo, useEffect } from 'react';
import { Container } from './VideoTimeLineEditor';
import VideoEditingTimeline, { ReactVideoEditingTimelineProps } from 'video-editing-timeline-react';
interface IVideoTimeLineEditorProps {
}
const VideoTimeLineEditor: React.FC<IVideoTimeLineEditorProps> = (props: IVideoTimeLineEditorProps) => {
const generationConfig: ReactVideoEditingTimelineProps = useMemo(() => {
return {
config: {
el: '#timeline',
canvasWidth: 5000,
canvasHeight: 50,
minimumScale: 10, // 一个小刻度长度(单位px)
minimumScaleTime: 1, // 一个小刻度代表时间(单位秒)
},
};
}, []);
useEffect(() => {
const videoEditingTimeline = new VideoEditingTimeline(generationConfig);
}, [generationConfig]);
return (
<Container>
<canvas id="timeline"/>
</Container>
);
};
export default memo(VideoTimeLineEditor);
页面上是个 空白的区域啊没有 时间轴啊
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.