Update code for embedded video