Added new function abilities for video and images in posts