   @get '/video': -> 
     @render video:
       video: video.location + @query.video
+      videoName: @query.video
       subject: @query.subject
 
 

    for obj in @body.buffer
      csv = csv + ((q(v) for k, v of obj).join(",") + "\n")

    resultsFile.write csv

    @send
      result: 'Ok'




      onValueChange = (e, ui) ->
        buffer.push
          subject: subject
          video: videoName
          time: $("#video").get(0).currentTime
          value: ui.value
          playing: $("#video").data("isPlaying")
