updated code to allow for either download or playing of video data via
video view.