Embedding YouTube videos on your website or sharing them with others is a common practice. However, there may be times when you want to share a specific portion of a video or make it play automatically. In this blog post, we will discuss how to create custom YouTube URLs with a specific start time and end time, giving you more control over the video experience.
To create a custom YouTube URL with a specific video ID, start time, and end time, use the following format:
https://www.youtube.com/embed/VIDEO_ID?start=START_TIME&end=END_TIME
Replace VIDEO_ID with the actual video ID you want to play, START_TIME with the desired start time in seconds, and END_TIME with the desired end time in seconds.
Let’s use a real-life example with a video ID CVcrjVYEynM, a start time of 5:22 (322 seconds), and an end time of 5:46 (346 seconds). The custom URL would be:
https://www.youtube.com/embed/CVcrjVYEynM?start=322&end=346
This URL will play the video with the ID CVcrjVYEynM, starting at 5:22 and ending at 5:46.
Click here to test it: https://www.youtube.com/embed/CVcrjVYEynM?start=322&end=346&autoplay=1
Just add &autoplay=1
to the URL so that it will automatically start playing.
Creating custom YouTube URLs with start and end times is a simple yet effective way to enhance the video viewing experience for your audience. By using these custom URLs, you can direct your viewers to specific portions of a video, ensuring they focus on the content you want to highlight.
If you made it this far, you may as well follow me on LinkedIn: Follow Brian Porter