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