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