Pass type with source to video js and let it set the attribute.