create a method for calculatingPlaybackPositionPercentage and used the same calculation overall
create a method for calculatingPlaybackPositionPercentage and used the same calculation overall

bitmovin/bitmovin-player-ui,bitmovin/bitmovin-player-ui,bitmovin/bitmovin-player-ui,bitmovin/bitmovin-player-ui