fix type of media adding mediaElement,audio,video