2

I know that it's possible to link to a specific point in a YouTube video by adding #t=XhYmZs to the end of the URL. (i.e. https://www.youtube.com/watch?v=-zA1jRmAYfU#t=1h2m48s). However, sometimes I want be a bit more specific so the video doesn't start playing mid-sentence.

Is it possible to use a more specific timestamp? Can I send a link that starts 48.5 seconds into a video? (i.e. https://www.youtube.com/watch?v=xuCn8ux2gbs&t=48.5s)

3

From the API documentation with added emphrasis

start

This parameter causes the player to begin playing the video at the given number of seconds from the start of the video. The parameter value is a positive integer. Note that similar to the seekTo function, the player will look for the closest keyframe to the time you specify. This means that sometimes the play head may seek to just before the requested time, usually no more than around two seconds.

In other words:

  • No, you cannot specify half-seconds as-is.
  • Even if you could, the distance between keyframes is the limiting factor for precise linking.
| improve this answer | |
0

I'm not able to reply and stuff, so I'll post an answer and see how much abuse I get. There seems to be much less hate over here than in the category I usually read. @Leo Wattenberg touches on the closely related question that brought me here: Is there no switch/modifier (or similar but separate function) that allows the use of frames or keyframes as an argument? And that seems to confirm my suspicion from research: no. But it looks like I misunderstood seekTo, and using that with doubles instead of integers might, by luck, get me a more preferable keyframe than integers. My competence in this area doesn't extend beyond the "just add some characters to the URL I found" approach that @Stevoisiak and I were using (This link from a relevant question is over my head, at least for today) but this is a huge step in my quest to play a clip from a 40s Disney movie at a slightly more convenient moment.

Edit: I guess I'm posting more of a solution than I thought, so posting this as an answer is almost appropriate?

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.