extract video player factory and mixin as it is needed