Invidious (yewtu.be) embed

Replace YouTube embeds with yewtu.be embeds.

2022/03/26のページです。最新版はこちら。

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
作者
skau
評価
0 0 0
バージョン
2.61
作成日
2022/01/06
更新日
2022/03/26
大きさ
3.37KB
ライセンス
不明
対象サイト
すべてのサイト

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 (Some sites still refuse to work on Violentmonkey, I can't seem to be able to work around it but apparently this is a Violentmonkey bug that has to be fixed on their end)
  • Fixed the script breaking YouTube embeds on DuckDuckGo (Violentmonkey users are recommended to add *://duckduckgo.com/* to the user excludes since it still breaks the embeds on Violentmonkey)