update some code for show video