What does this PR do?
YouTube uses the t parameter to start the video at an offset. For example, this happens when copying a YouTube URL of a video you already watched partially. However, for embedded videos YouTube uses the start and end parameters to 'cut' the video (source). Currently this offset will be lost when rewriting the URL to an embedded video.
This PR will rewrite the t parameter to start, making sure the embedded video continues at the point specified by the original URL. The s suffix needs to be removed for this.
What platforms did you test it on?Linux 5.4.40-1-MANJARO x86_64
What does this PR do? YouTube uses the
t
parameter to start the video at an offset. For example, this happens when copying a YouTube URL of a video you already watched partially. However, for embedded videos YouTube uses thestart
andend
parameters to 'cut' the video (source). Currently this offset will be lost when rewriting the URL to an embedded video.This PR will rewrite the
t
parameter tostart
, making sure the embedded video continues at the point specified by the original URL. Thes
suffix needs to be removed for this.What platforms did you test it on?
Linux 5.4.40-1-MANJARO x86_64