const ogImage = "https://uksnackattack.co.uk/media/reels/202109/AQPxd6aaiR4Niu5q41PoUfdhFc0neJU3LsbeTpfKagQVLJjqMK8kX46xfzDcixTwGbdd5Xs6rMlgBsU0Wu8BqfyQgzQGsKU5PYhieE_17944939039559954.mp4"; // Replace this dynamically with your media URL
const isVideo = ogImage.endsWith(".mp4"); //...