Refactor the code, create the VideoUrlResolution class, which is the
parent class of other resolution class. it encapsulates the common
method.