mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 11:11:20 -08:00
update docs
This commit is contained in:
1 parent
35fcbfe853
commit
6f305bcf12
3 files changed
+147
-149
No files matched your search
@@ -79,7 +79,6 @@ art.on('ready', () => {
|
||||
|
||||
视频时间跳转,单位秒
|
||||
|
||||
|
||||
<div className="run-code">▶ Run Code</div>
|
||||
|
||||
```js
|
||||
@@ -201,7 +200,7 @@ var art = new Artplayer({
|
||||
art.on('ready', () => {
|
||||
art.seek = 10;
|
||||
setTimeout(() => {
|
||||
art.switchUrl('/assets/sample/video.mp4?t=0', '新视频地址');
|
||||
art.switchUrl('/assets/sample/video.mp4?t=0', '新视频名字');
|
||||
}, 3000);
|
||||
})
|
||||
```
|
||||
@@ -344,7 +343,7 @@ art.on('ready', () => {
|
||||
|
||||
- 类型: `Function`
|
||||
|
||||
获取当前视频帧的截图的`Blob`地址,返回的是一个 `Promise`
|
||||
获取当前视频帧的截图的`blob`地址,返回的是一个 `Promise`
|
||||
|
||||
<div className="run-code">▶ Run Code</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user