update to add a unique url per video using pathjs