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

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

    resultsFile.write csv

    @send
      result: 'Ok'




    script -> """
        subject = "#{@subject.replace(/"/g, '\\"')}"
        video = "#{@video}"
        videoName = "#{@videoName}"
      """

    video id:"video", width:640, height:480, ->
