Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Ranx99's avatar

Get vimeo's video duration and other info

In my website, I am allowing users to upload videos to Vimeo through their API to my account, then after uploading.. Vimeo will take sometime for trans-coding the uploaded video. And the uploaded video's info ( duration - size ..etc ) are not available until this video has finished trans-coding.

My problem: since they don't support webhooks ( Example: notify a given HTTP URL if trans-coding has finished for the uploaded video ).

I need another way to get these info when the video's has finished trans-coding, so I can store these values in my database table ( duration - size ..etc ).

How to solve this?

0 likes
1 reply
Ranx99's avatar

I think I need to use something like a cron job that will hits Vimeo API, any retrieve videos by a given ID ( video_id) .

did anyone worked with such a case with Vimeo before?

Please or to participate in this conversation.