fixed a bug where the video source url was not set properly