Added load video function