Embed YouTube videos with specific start/end points
Keywords: Youtube, Schoology, Embedded
Aliases:
Directions for doing this in Schoology:
Steps to Embed a Video with Start and End Times:
Find the Video: Go to the YouTube video you want to embed.
Share and Embed: Click on the "Share" button below the video, then click "Embed" to get the iframe code for embedding the video.
-
Edit the Embed Code: Before copying the embed code, you'll need to modify it to specify the start and end times.
- To set the start time, add
?start=NUMBER
at the end of the video URL within the iframe code, where NUMBER
is the start time in seconds.
- To set the end time, add
&end=NUMBER
immediately after the start parameter, where NUMBER
is the end time in seconds.
Insert the Code: Copy the modified embed code and paste it into the HTML of your webpage or platform where you want the video to appear.
Example:
If you want the video to start at 2 minutes and 53 seconds (173 seconds) and end at 4 minutes and 2 seconds (242 seconds), your embed code will look something like this:
html
<iframe src="https://www.youtube.com/embed/3zaB6TxTh-0?start=173&end=242"></iframe>
Tips:
-
Calculating Time in Seconds: Remember to convert your desired start and end times into seconds when adding them to the embed code.
-
Embedding into Platforms: The process of embedding the video may vary slightly depending on the platform you're using. Generally, you'll need to find the option to edit the HTML or insert media.
This technique is a great way to share specific parts of a video without having to edit the video itself.
<span class="fr-mk" style="display: none;">&nbsp;</span><span class="fr-mk" style="display: none;">&nbsp;</span><span class="fr-mk" style="display: none;">&nbsp;</span><span class="fr-mk" style="display: none;">&nbsp;</span><span class="fr-mk" style="display: none;">&nbsp;</span><span class="fr-mk" style="display: none;">&nbsp;</span><span class="fr-mk" style="display: none;">&nbsp;</span>
General directions for doing it in a website:
Sharing YouTube Videos with Specific Start and Stop Times
-
Find the Video: Go to YouTube and find the video you want to share.
-
Calculate Time in Seconds: Determine the part you want to highlight. Convert these values into seconds. For example, for a segment from 01:30 to 02:10, that would be 90-130 seconds.
-
Edit the URL:
- Remove
?watch
.
- Replace
=
with /
.
- Add
?start=x&end=y
at the end of the URL, where x
is the start time in seconds and y
is the end time in seconds.
Embedding YouTube Videos on WordPress with Specific Start and Stop Times
-
Find the Video and Click Share: Click on the video you want to embed, then click on the "Share" button, followed by "Embed".
-
Customize the Embed Code: Click "Show more" and then ensure only "Show player controls" is checked.
-
Copy the Embed Code: Copy the highlighted embed code provided.
-
Go to Your WordPress Site: Create a new post or page, and switch to the Text tab.
-
Paste the Embed Code: Edit the code by adding
start=x&end=y&
where x
is your starting point in seconds and y
is your end point in seconds, right after the ?
.
Remember, the methods for sharing links directly and embedding videos on WordPress slightly differ, especially in how you format the URLs and embed codes. This ensures your audience sees only the relevant parts of a video you wish to highlight.
For more detailed instructions, including examples and troubleshooting, visit the original video How to define start and stop points in your YouTube videos.