adapting source to video file streaming