custom directive for video files, load metadata from json if exists