added video looping in VideoSource