Added video looping for short video files