News for hackers. Stuff that matters.
Re:Piped – An alternative privacy-friendly YouTube front end by chiefalchemist on Tuesday October 17, 2023 @09:27AM (#37914705)
If this is too off-topic please just ignore it (and don't DV).

I want to embed YT videos on a website, but we would like them to be as private as possible. For example, DDG has a player which shields the watcher from YT's data hoovering.

Any suggestions? Perhaps the search terms I'm using are wrong?

Re:Piped – An alternative privacy-friendly YouTube front end by acdha on Tuesday October 17, 2023 @09:31AM (#37914769)
In that situation I’d favor self-hosting - it’s easy, friendlier for users, and unless you’re getting a huge amount of traffic not very expensive. Swimming upstream against YouTube’s business model is just locking in time spent worrying about what you missed.
Re:Piped – An alternative privacy-friendly YouTube front end by rozenglass on Tuesday October 17, 2023 @10:21AM (#37915540)
You can embed videos from an Invidious instance instead; on a video's page[1] there's an "embed video" link[2] you can use. The instance can be one hosted by you if you don't trust public ones, and you probably want to enable proxying by default if you don't want your clients to stream the video directly from Google's servers. You can also use a browser extension like libredirect[3] to automatically replace YouTube embeds with Invidious ones while browsing the web.

[1]: https://yewtu.be/watch?v=xzTH_ZqaFKI

[2]: https://yewtu.be/embed/xzTH_ZqaFKI

[3]: https://github.com/libredirect/browser_extension

Re:Piped – An alternative privacy-friendly YouTube front end by bluGill on Tuesday October 17, 2023 @12:55PM (#37917977)
Peertube lets you host them yourself.
Re:Piped – An alternative privacy-friendly YouTube front end by kavin1337 on Tuesday October 17, 2023 @03:31PM (#37920392)
Hi, you can embed it using simple HTML! For example, you can try this: <iframe src="https://piped.video/embed/jNQXAC9IVRw" />