Added directive for rendering videos.