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