Check on type for media tag