fixed megavideo directive definition and template