Multimedia export

Addresses issues in #4857 @czue