But the writer is saying your performance can be affected by others surrounding you. In a virtual classroom on the computer, there is no one watching you. Maybe I understand it wrong.
And as for "would", it may not be a habit, but a repetitive(habitual) event that happened as you said the situation varied depending on times.
Student or Learner