resolves #155 implement video and audio macros