add basic support for type='video'