Comments (2)
@jiangyijie27
这也许可以是一个动作序列,不错的idea,我会评估一下可行性 💡
from webvideocreator.
@jiangyijie27 我们将会把功能集成在0.0.27版本发布,预计在这两天,这是demo:
const video = wvc.createSingleVideo({
width: 1080,
height: 1280,
fps: 60,
outputPath: "./t2.mp4",
showProgress: true,
url: "https://www.bilibili.com/v/popular/all/?spm_id_from=333.1007.0.0",
timeActions: {
3000: async (page) => {
const _page = page.target;
await _page.evaluate(() => {
window.scrollTo({
top: 1280,
behavior: "smooth"
});
});
},
6000: async (page) => {
const _page = page.target;
await _page.evaluate(() => {
window.scrollTo({
top: 2560,
behavior: "smooth"
});
});
},
9000: async (page) => {
const _page = page.target;
await _page.evaluate(() => {
window.scrollTo({
top: 3840,
behavior: "smooth"
});
});
}
},
duration: 10000
});
t2.mp4
from webvideocreator.
Related Issues (20)
- Problem Inserting Video In Direct Page Content Case HOT 5
- How to set Video Duration Same as Audio HOT 8
- How to make Screenshot HOT 6
- Error Video Rendering When Video Element HOT 5
- Embed Video Issue and Uncaught Error HOT 1
- No Types available HOT 1
- pagePrepareFn 的传参问题 HOT 4
- 嵌入视频太长导致错误 HOT 9
- startTime = Video - startTime HOT 1
- Unclosed chromium Procceses HOT 2
- 参数没加引号导致部分参数被shell解析成命令
- 是否能支持audio/video的playbackRate属性? HOT 1
- How to record 4k or highest quality possible? HOT 1
- Blob & Base64 <audio> not recorded
- Not working on Windows Server
- English docs?
- `outputStream` instead of writing to file? HOT 1
- 配置如下,但是单通道视频导出之后经过验证还是3通道的视频
- 安全上下文限制导致的测试环境无法访问问题,有什么优雅的解决方案吗?
- ReferenceError: ImageDecoder is not defined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webvideocreator.