add play-pause-stop videos. Optimize various video codes