miniflux / v2

Minimalist and opinionated feed reader
https://miniflux.app
Apache License 2.0
6.81k stars 718 forks source link

Disable placing iframe for YouTube URL #2884

Open Avol-V opened 1 week ago

Avol-V commented 1 week ago

This is a huge and very heavy piece of JS code that I don't need in the feed. It kills the idea of a lightweight RSS reader a bit. It would be great if it was possible to disable this feature.

It looks especially strange and inconvenient when the feed already has its own mechanisms for embedding the preview. For example, RSS-Bridge for YouTube adds a preview image with a link, which is convenient and lightweight at the same time.

Maybe this can be done at least in the form of a global setting, like FETCH_YOUTUBE_WATCH_TIME, if it will be difficult to add it in the interface?

guest20 commented 6 days ago

The Rewrite Rules docs mention

add_youtube_video   Insert Youtube video to the article (automatic for Youtube.com).

So the obvious choice is to allow turning this off either from each rule's Rewrite Rule field with a no_add_youtube_video_please or by letting users set global options for rewrites in their ⚙Settings page