6 ms·
[0] embeds a youtube video on a local html file, AFAICT there are no ads on locally embedded videos [0]https://github.com/luvchurchill/NoAds https://github.com
by FergusArgyll 3y ago
[0] embeds a youtube video on a local html file, AFAICT there are no ads on locally embedded videos
[0]https://github.com/luvchurchill/NoAds https://github.com/luvchurchill/NoAds
- dspillett 3y agoNot tested extensively, but that seems to work. It can be wrapped in a bookmarklet too, so you are ctrl+shift+b-then-click away from a standard youtube page into a simple page with the video embedded: javascript:(function newDocTest(){ src = 'https://www.youtube.com/embed/'+document.location.href.split('watch?v=')[1]; document.body.innerHTML = '<iframe width="420" height="315" src="'+src+'" title="Embedded YT" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>'; })(); I might have to spend some time tinkering to improve it, make the default size match current view-port dimensions as closely as possible etc.
- FergusArgyll 3y agoAlso AFAICT it doesn't show up in your youtube history, if you care about that kinda stuff.