added playlist position support and video size recalculation