The problem is that your Video
class variables are static
, meaning only one copy of each for the whole class. They get overwritten with each new instance.
Video ---> "c"
^ ^
Video --/ /
/
Video --/
Remove static
to make them instance variables, meaning one each per instance of the class. Then the values won't overwrite each other.
Video ---> "a"
Video ---> "b"
Video ---> "c"