Loading…

Get video information based on video number

```javascript WXAPI.videoDetail(videoId) ``` + videoId The video number of the video uploaded by the background video on demand service ![](https://dcdn.it120.cc/yuque/0/2022/png/572726/1641694967564-d068c29e-7fc3-41b2-8637-131c4dbaa8c8.png) ```json { "code": 0, "data": { "coverUrl": "http://video.it120.cc/snapshot/c4c6e38eeb3a428e80f1a8b32c6de58700002.jpg", "dateAdd": "2018-01-03 13:41:49", "dateUpload": "2018-01-03 13:42:55", "fdM3u8": "http://video.it120.cc/c4c6e38eeb3a428e80f1a8b32c6de587/854b25ccf48b4e67ad8a1c691e32a9b5-23ed88f2a1a26984ec60a497bcc1d316.m3u8", "fdMp4": "http://video.it120.cc/c4c6e38eeb3a428e80f1a8b32c6de587/854b25ccf48b4e67ad8a1c691e32a9b5-699a80a29a15c59c9d0868389f86cc3f.mp4", "ldM3u8": "http://video.it120.cc/c4c6e38eeb3a428e80f1a8b32c6de587/854b25ccf48b4e67ad8a1c691e32a9b5-4b6ffae84f2e1d243955ecaedcf11a3e.m3u8", "ldMp4": "http://video.it120.cc/c4c6e38eeb3a428e80f1a8b32c6de587/854b25ccf48b4e67ad8a1c691e32a9b5-5287d2089db37e62345123a1be272f8b.mp4", "size": 2438178, "sizeStr": "2.33 MB", "title": "50010224001.mp4", "type": 0, "videoId": "c4c6e38eeb3a428e80f1a8b32c6de587" }, "msg": "success" } ``` + coverUrl cover picture + title video title + size capacity (unit is bytes, sizeStr is the capacity after formatting) + fdMp4 video address of the process, mp4 format + ldMp4 standard definition smooth address, mp4 format + fd_m3u8 smooth video address, m3u8 format + ld_m3u8 SD smooth address, m3u8 format + dateAdd upload time