fix bugs and add uncompleted Video playback function