Invidious (inv.nadeko.net) embed

Replace YouTube embeds with inv.nadeko.net embeds.

Από την 26/03/2025. Δείτε την τελευταία έκδοση.

Δημιουργός
skau
Βαθμολογίες
0 0 0
Έκδοση
2025.03
Δημιουργήθηκε την
06/01/2022
Ενημερώθηκε την
26/03/2025
Μέγεθος
5 KB
Άδεια
Μη διαθέσιμη
Εφαρμόζεται σε
Όλοι οι ιστοχώροι

Shoutouts to Mohammed who contacted me on Telegram and helped me fix an issue with inner iframes on Tampermonkey.

Based on this script written by Backend.

Changes from Backend's script:

  • Now uses yewtu.be as the Invidious instance
  • Changed default autoplay behavior. By default videos will now only autoplay when 'autoplay=1' is already defined in the source YouTube embed.
  • The script now uses URLSearchParams for better handling of search parameters on the embeds.
  • The script will now use the 'listen=1' parameter when the embed has 0 or 1 defined as its width and height to save bandwidth
  • Fixed an infinite loop that would occur when an YouTube embed's hostname didn't start with 'www.'
  • Fixed the script not detecting youtu.be embeds
  • Fixed the script not working with Violentmonkey
  • Fixed the script breaking YouTube embeds on DuckDuckGo