I personally like the definition of addiction from David Foster Wallace. I couldn't manage to find the exact quote, but it's something like:
Addiction is when something purports to solve the very problems it creates.
Certainly not a standard definition, and might not be true in every case, but an interesting way to think about it. In the case of Youtube, watching videos might seem to solve the problem of loneliness and disconnect with the world, while actually exacerbating those problems.