mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 18:41:20 -08:00
取消预览图自动下载
This commit is contained in:
1 parent
7cdf6ce904
commit
9a9665aac5
1 file changed
+1
-3
@@ -60,9 +60,7 @@
|
|||||||
thumbnail.on('video', function(video) {
|
thumbnail.on('video', function(video) {
|
||||||
console.log('Video size: ' + video.videoWidth + ' x ' + video.videoHeight);
|
console.log('Video size: ' + video.videoWidth + ' x ' + video.videoHeight);
|
||||||
console.log('Video duration: ' + video.duration + 's');
|
console.log('Video duration: ' + video.duration + 's');
|
||||||
thumbnail.setup(getConfig()).start().then(() => {
|
thumbnail.setup(getConfig()).start();
|
||||||
thumbnail.download();
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
thumbnail.on('canvas', function(canvas) {
|
thumbnail.on('canvas', function(canvas) {
|
||||||
|
|||||||
Reference in new issue
Block a user