Invidious (yewtu.be) embed

Replace YouTube embeds with yewtu.be embeds.

目前為 2022-08-23 提交的版本,檢視 最新版本

作者
skau
評價
0 0 0
版本
2022.08
建立日期
2022-01-06
更新日期
2022-08-23
尺寸
4.7 KB
授權條款
未知
腳本執行於
所有網站

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