Hi,
I created a video using a Shell command. I also managed to Upload a thumbnail (an image) using the documentation from https://docs.api.video/5.1/videos/upload-a-thumbnail and it looks like I am not able to Pick a thumbnail (from a time code) using https://docs.api.video/5.1/videos/pick-a-thumbnail.
I am aware of It may take up to 1h before the new thumbnail to be delivered by our CDN.
and even after 2-3 hours or a day, nothing happened.
The response I got after executing the command represents the success of the action, so I can’t imagine what could have gone wrong. Is this a feature available only in production environment?
Could anyone do some test and confirm that indeed it is not possible to Pick a thumbnail?
This is my command
curl -X PATCH https://sandbox.api.video/videos/vi3cqijTRX73qVjhAtamklzb/thumbnail -H 'Content-Type: application/json' -d '{"timecode":"00:55:00x00"}' -H 'Authorization: Bearer ...'
And this is the response
"videoId": "vi3cqijTRX73qVjhAtamklzb",
"title": "Test video thumbnail update",
"description": "",
"public": true,
"panoramic": false,
"mp4Support": true,
"publishedAt": "2020-07-16T08:06:48+00:00",
"updatedAt": "2020-07-16T08:10:08+00:00",
"tags": [],
"metadata": [
{
"key": "channel",
"value": ""
},
{
"key": "description",
"value": ""
},
{
"key": "status",
"value": "draft"
}
],
"source": {
"type": "upload",
"uri": "/videos/vi3cqijTRX73qVjhAtamklzb/source"
},
"assets": {
"iframe": "<iframe src=\"https://embed.api.video/vod/vi3cqijTRX73qVjhAtamklzb\" width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"></iframe>",
"player": "https://embed.api.video/vod/vi3cqijTRX73qVjhAtamklzb",
"hls": "https://cdn.api.video/vod/vi3cqijTRX73qVjhAtamklzb/hls/manifest.m3u8",
"thumbnail": "https://cdn.api.video/vod/vi3cqijTRX73qVjhAtamklzb/thumbnail.jpg",
"mp4": "https://cdn.api.video/vod/vi3cqijTRX73qVjhAtamklzb/mp4/360/source.mp4"
},
"playerId": "pt4iI2Ck3Xg6ISD5rC7Nh8X0"
}
Thank you,
Alex