Attention span is not a well-defined term, and according to most researcher there is not even any reason to believe there is only a singular value — the “kid who can’t sit on his ass” can play a video game/learn something from youtube for hours just fine, it all depends on the activity at hand.
So the “decreasing attention span” is a myth.