YouTube allows you to link to a specific starting time in a video a few different ways, with time specified in the query string or fragment, as seconds or minutes and seconds. For example:
- https://youtu.be/rEWaqUVac3M?t=110
- https://www.youtube.com/watch?v=rEWaqUVac3M&start=110
- https://www.youtube.com/watch?v=rEWaqUVac3M&t=1m50s
- https://www.youtube.com/watch?v=rEWaqUVac3M#t=1m50
However, the resulting embed code on sites with embedding enabled doesn't incorporate that start time—in fact it appears to explicitly specify a start time of 0.
<div class="youtube-embed"><div>
<iframe width="640px" height="395px" src="https://www.youtube.com/embed/rEWaqUVac3M?start=0"></iframe>
</div></div>
Can the URL parser that converts YouTube links to embedded videos be changed to preserve the start time in the embed code? This would be helpful for answers that reference a particular part of a video, particularly when it occurs well after the beginning.
Edit: as Jason Baker pointed out, this is possible if you use the right format—in fact, the third URL in the list above actually works to embed a video at a specific starting time. However, the URLs generated by YouTube's built-in "share" features (in the box below the video on the YouTube page, or by right-clicking on the video) are generally not recognized by SE. So this request really is a conceptual duplicate of "Embed YouTube videos from variant URLs": please support more YouTube URL format variants, in particular the ones generated by YouTube:
- Embedding videos from
https://youtu.be/<ID>
- Recognizing start timestamps in
?t=XXX
form (time in seconds, withoutm
ors
).