change video duration

define youtube videos duration.dor example it could stop some time before the end of the video.