The 9400t is faster than the 2800h.
YouTube and web browsing are not demanding tasks, you don't need a lot of "processing power" for 1080p playback.
That being said, you can build yourself a more powerful computer for cheaper. It has become quite easy and Internet is full of detailed step-by-step tutorials.
Thanks, sdedu77, yeah...I just did some more research...the 9400T is faster (CPU), and this model has 128 SSD and also 7200 rpm (same as 2800H). No, I can't build myself...no time to find the right parts to match with the other components. Thanks again!