How to determine if a given tweet is a video?

api

#1

Let’s say I have two tweets:


I want to be able to quickly determine if the tweet contains a video. What is the best way to do that?

I’ve tried using oEmbed API, but it doesn’t give me the information I need.
https://dev.twitter.com/web/embedded-timelines/oembed