工具集 获取有关本地视频文件的信息import { getVideoInfo } from 'm-toolset' getVideoInfo ( file ) . then ( ( { blob , ... videoInfo } = data ) => { console . log ( 'Video cover' , blob ) console . log ( 'Width, height and duration of video' , videoInfo ) } , error => { console . log ( error ) } )