change video tag and update media error msg