Sometime we want to embed just a portion of a video so that when user loads it he will get only that portion which is for him not full length movie.
There is a simple trick which allows you to set the start time of the video but what if we need to stop the video at a particular time too?
Here is the solution, you can use the following code to embed any video which will start as per your time and ends as per your time too :-
What code I had used :-
<iframe width=”420″ height=”315″ src=http://www.youtube.com/embed/ASO_zypdnsQ?start=120&end=180 frameborder=”0″ allowfullscreen></iframe>
You can replace YouTube URL as per yours and Start and End time and video height and width too.