WeChat Mini Programs intercepted the first frame of the video as a picture.

in native js, the drawImage method of canvas supports passing video elements.

clipboard.png

url:

clipboard.png

ask the gods, if you want to intercept the first frame of the video as a picture in WeChat Mini Programs, what can you do?


I don't know how your backend is saved. Object storage like OSS can provide video clip function


have you solved


Mini Program's video component is native and does not support loading into canvas

Menu