you might want to get duration and provider from File instead of videoInfo.