Hugely improves load speed of pages with lots of embedded Youtube videos by instantly showing clickable and immediately accessible placeholders, then the thumbnails are loaded in background. Optionally a fast simple HTML5 direct playback (720p max) can be selected if available for the video.
< Feedback op FYTE /Fast YouTube Embedded/ Player
I don't understand, because the script doesn't add any buttons by design and anyway the current code doesn't remove the existing parameters from the URL.
I understand which link is the problem, but I'm not sure the proposed solution is correct, because it looks like simply dropping -nocookie from the domain name is a better fix. Could you try it?
My solution is to just replace link with standard one, removing any junk that may break the link (except time params, afaik it's the only params that can be used in new link)
I understand which link is the problem, but I'm not sure the proposed solution is correct, because it looks like simply dropping -nocookie from the domain name is a better fix. Could you try it?
For this link – maybe, but why even preserve original link? What if other embedding would have some other link-breaking things?
Thing is I don't know which parameters may be used, which is why I don't assume that the only meaningful one is start|t.
Open embedding in new tab link is broken
Problem
It adds a button to open a video in a new tab (if there's a block like "log in to confirm you're not a bot") – it's great, that what I downloaded this script for! But the link is broken. It just copies the link in the embedding that not always can be played in other tab.
Example
Embeddings in https://mewgenics.wiki.gg/wiki/Eatin%27_Rats has buttons with links like
https://www.youtube-nocookie.com/watch?v=id&autoplay=1that are not correct.The solution
replace
with