using percent instead of pixel for loaded and playing process