Let $(\Omega, \mathcal F, \mathbb P)$ be a probability space. Let $H=(H_t, t\ge 0)$ be a stochastic process with continuous trajectories. Fix $T>0$. For $n \ge 1$, we define $$ H_{s,n} := \sum_{i=1}^{2^n} H\left(\frac{(i-1) T}{2^n}\right) 1_{ \left (\frac{(i-1) T}{2^n}, \frac{i T}{2^n} \right]}(s) \quad \forall s \in [0, T]. $$
Then for $(\omega, n) \in \Omega \times \mathbb N$, the map $s \mapsto H_{s, n} (\omega)$ is a step function. Because $H$ has continuous trajectories, we have $$ H_{s, n} (\omega) \underset{n \rightarrow \infty}{\longrightarrow} H_{s} (\omega) \quad \forall (\omega, s) \in \Omega \times [0, T]. $$
It is mentioned at page 35 of this note that
Preliminary fact If $\mathbb E[ \int_0^T H_s^2 \mathrm d s] < \infty$, then $$ \mathbb{E}\bigg[\int_0^T (H_{s,n}-H_s)^2 \mathrm d s\bigg] \underset{n \rightarrow \infty}{\longrightarrow} 0. $$
I have tried to verify this statement but got stuck. Could you elaborate on how to prove it?
My attempt
Fix $\omega \in \Omega$. We define $f_n:[0, T] \to \mathbb R$ by $f_n (s) := H_{s,n} (\omega)$. We define $f:[0, T] \to \mathbb R$ by $f (s) := H_{s} (\omega)$. Then $\sup_n \|f_n\|_\infty \le \|f\|_\infty < \infty$. Also, $f_n-f$ converges to $0$ pointwise. By dominated convergence theorem, we have $$ \int_0^T (f_n-f)^2 \mathrm d s \underset{n \rightarrow \infty}{\longrightarrow} 0. $$
We define $Y_n:\Omega \to \mathbb R$ by $$ Y_n (\omega) := \int_0^T (H_{s,n} (\omega)-H_s(\omega))^2 \mathrm d s. $$ As proved above, $Y_n \underset{n \rightarrow \infty}{\longrightarrow} 0$ almost surely.
I posted this question on MSE but have not received any answer so far.