close video files when removing last cached copy of video material, or changing url