second version with video preview