code: private void handleVideoRequest(final Request request) {
  		String videoRequested = request.getParameter(VIDEO_INDEX_REQUEST_PARAM_KEY);
  		int videoFileIndex = 0;
  
  		try {
  			videoFileIndex = Integer.parseInt(videoRequested);
  		} catch (NumberFormatException e) {
  			LOG.error("Failed to parse video index: " + videoFileIndex);
  		}
  
  		Video[] video = getVideo();
  
  		if (video != null && videoFileIndex >= 0 && videoFileIndex < video.length) {
  			ContentEscape escape = new ContentEscape(video[videoFileIndex]);
  			escape.setCacheable(!Util.empty(getCacheKey()));
  			throw escape;
  		} else {
  			LOG.warn("Client requested invalid video clip: " + videoFileIndex);
  		}
  	}
docs: Handles a request for a video.
  
  @param request the request being responded to.