const ogImage = "https://uksnackattack.co.uk/media/reels/202311/AQOI1LdtMLMDYDmNiNSU5yjaXPHeyd8eiuZtcXXZOeeNbcThlKi6t5jbseCWNh0UPzBHIzNG4Lbtjw3uNiEqcKzBzOOA4M6b6_UA_18001664276227697.mp4"; // Replace this dynamically with your media URL
const isVideo = ogImage.endsWith(".mp4"); //...
const ogImage = "https://uksnackattack.co.uk/media/reels/202305/AQOPmZ0NtNHiRc3B7gxylzoJh9z783IcsggJOH1HBPzPU_X3ry10mQqaDi58KevM0HoIr3GbnIOReX_5wNvJoOKYoXItmkoAIKMSI8_17877843209858527.mp4"; // Replace this dynamically with your media URL
const isVideo = ogImage.endsWith(".mp4"); //...
const ogImage = "https://uksnackattack.co.uk/media/reels/202211/AQMfLnqY5APfh2HTVSenm8RFyhZ7edq1yi1Nk1T2ZJBwWPwd6jNypSpzELec0TIGn3Ni1qQ1PZPUOCYgUFdqOt5OVRuzJNpM9KlWs4Y_18025317019432072.mp4"; // Replace this dynamically with your media URL
const isVideo = ogImage.endsWith(".mp4"); //...