Onebox가 YouTube의 ?t=13m30s를 인식하지 못하지만 ?t=810은 인식함 - 회원에 따르면 m:s 형식이 예전에는 작동했음

Hi Folks,

One of my members pointed out the using minutes and seconds in a YT URL no longer works, he thinks as of a couple months ago. In my testing, he is correct, the video just starts at the beginning. I’ll embed both URL’s here, and let’s see if it’s just my site. - Nope - behaves the same here - I am not a ruby coder, but I looked at the ruby code for youtube_onebox_spec.rb and it looks like the M:S format, along with start and end are accommodated, but neither arguments work on my site.

The M:S format is much easier for folks on mobile to use as the YT app does not provide a way to select start time, the user has to append the ?t= string to the URL when they share it.

Thanks for any assistance. OK, let’s see how these URL’s work here.

Oh, we are at 3.1.0beta4 (f462347e12) and I see 3.1.0beta5 just dropped. I schedule maintenance windows on our site, so won’t be able to run that in right away to see if the update helps this issue.

https://youtu.be/DX3Ag59W68I?t=13m30s

https://youtu.be/DX3Ag59W68I?t=810

2개의 좋아요

Maybe a regression from the lazy-yt migration @jancernik ?

4개의 좋아요

Yes, this was a regression. Thanks for the report. This PR should fix the issue:

https://github.com/discourse/discourse/pull/22299

6개의 좋아요

This topic was automatically closed after 4 days. New replies are no longer allowed.