Refactoring  url video for jwplayer