Adding videos to your web pages and blog posts, is a common practice if you want to show something in particular, or make you blog look more lively. Youtube is the most popular video streaming service around and provides a very efficient, easy to use, way to include videos in any type of page you want.
Adding a youtube video on a page or a post includes copying and pasting the embeded html code that can be found on the right of each video.
Including it like this will make the video to start from the beginning. In most cases this is sufficient. What happens though, if you want to show a certain part of the video and you do not want your readers to bore themselves watching it all way through until the video reaches the part you are talking about.Accomplishing that is very easy without having to resort in any video editing and uploading the video again, or saying to your readers to forward to a particular part. All you have to do is add a little extra code to the embed code supplied by youtube. Each embed code has two URL specified in them. What you want to do is add an extra parameter to that url to instruct it to start at a second of your choice. At the end of each url you add
&start=x
where x is the second you want the video to jump start from
Thus, this code segment:
becomes:
and instead of staring from the begining
it starts from the predefined second
0 Comments:
Post a Comment