ynshung / better-yt-shorts

Playback, volume, timestamp controls and more on YouTube Shorts.
GNU General Public License v3.0
240 stars 43 forks source link

Timestamps in short URLs don't work anymore #155

Closed BreadBreadington closed 9 months ago

BreadBreadington commented 12 months ago

I believe this was a Youtube change but I could be wrong Previously you could add the "t=[number]" option to a short URL and it would work the same as a normal video.

An alternative change could be making the "Copy video URL at current time" context menu options link to the full-sized video (youtube.com/watch?v= instead of youtube.com/shorts)

ynshung commented 11 months ago

Seems like a YouTube change, the option to add current time in the video is disabled entirely. Maybe the extension could check if the "t=" attribute exists and seek automatically. But one issue is that the attribute automatically get removed by YouTube when the video loads so we need to test if it is even detectable, if at all.

adsuth commented 11 months ago

Seems like a YouTube change, the option to add current time in the video is disabled entirely. Maybe the extension could check if the "t=" attribute exists and seek automatically. But one issue is that the attribute automatically get removed by YouTube when the video loads so we need to test if it is even detectable, if at all.

i dont think it is. Tried it with the dev console. By the time the page loads, the urls already changed.

The suggestion to link to the full view at the specific time on the other hand might work.

Basically we could just emulate the share modal on full videos

image

adding a new section under the one thats there maybe

image

Seems like a lot of work for not a lot of gain though. Shorts are, short, and seeking to the correct time is fairly easy with the progressbar implementation (or just seeking forward)

ynshung commented 9 months ago

Closing this as not planned for now since it's not really useful to have timestamp url for a short, anyone who is interested in this feature or work on it can comment below