fixed wrong reference

"inputVideo" is the id of the <video> elem associated to the variable
"video"