Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Freetube | 7,155 | 8 hours ago | 400 | agpl-3.0 | JavaScript | |||||
An Open Source YouTube app for privacy | ||||||||||
Lite Youtube Embed | 4,599 | 2 | a month ago | 8 | March 17, 2021 | 37 | other | JavaScript | ||
A faster youtube embed. | ||||||||||
Piped | 4,598 | 8 hours ago | 250 | agpl-3.0 | Vue | |||||
An alternative privacy-friendly YouTube frontend which is efficient by design. | ||||||||||
Alternative Front Ends | 4,116 | 18 days ago | 50 | agpl-3.0 | ||||||
Overview of alternative open source front-ends for popular internet platforms (e.g. YouTube, Twitter, etc.) | ||||||||||
Browser_extension | 2,362 | 9 hours ago | 4 | gpl-3.0 | JavaScript | |||||
A browser extension that redirects popular sites to alternative privacy friendly frontends | ||||||||||
Privacy Redirect | 1,675 | 14 days ago | 202 | gpl-3.0 | JavaScript | |||||
A simple web extension that redirects Twitter, YouTube, Instagram & Google Maps requests to privacy friendly alternatives. | ||||||||||
Alternative Frontends | 1,284 | 4 months ago | 10 | gpl-3.0 | ||||||
🔐🌐 Privacy-respecting web frontends for popular services | ||||||||||
Awesome Userscripts | 1,104 | 14 days ago | 3 | cc0-1.0 | ||||||
📖 A curated list of Awesome Userscripts. | ||||||||||
Beatbump | 746 | 4 days ago | 62 | agpl-3.0 | TypeScript | |||||
Alternative YouTube Music frontend built with Svelte/SvelteKit 🎧 | ||||||||||
Yotter | 472 | 2 years ago | 63 | agpl-3.0 | Python | |||||
Youtube and Twitter with privacy. |
Renders faster than a sneeze.
Provide videos with a supercharged focus on visual performance. This custom element renders just like the real thing but approximately 224 faster.
Demo: https://paulirish.github.io/lite-youtube-embed/
Normal <iframe> YouTube embed |
lite-youtube |
---|---|
![]() ![]() ![]() |
![]() ![]() ![]() |
Use the lite-youtube-embed
npm package or download from this repo and use src/
.
To use the custom element you will need to:
lite-youtube
tag via HTML or JS.<!-- Include the CSS & JS.. (This could be direct from the package or bundled) -->
<link rel="stylesheet" href="node_modules/lite-youtube-embed/src/lite-yt-embed.css" />
<script src="node_modules/lite-youtube-embed/src/lite-yt-embed.js"></script>
<!-- Use the element. You may use it before the lite-yt-embed JS is executed. -->
<lite-youtube videoid="ogfYd705cRs" playlabel="Play: Keynote (Google I/O '18)"></lite-youtube>
Privacy note: lite-youtube uses youtube-nocookie.com instead of youtube.com in order to be more privacy friendly for end users.
YouTube supports a variety of player parameters to control the iframe's behavior and appearance.
These may be applied by using the params
attribute.
<!-- Example to show a video player without controls, starting at 10s in, ending at 20s,
with modest branding *and* enabling the JS API -->
<lite-youtube videoid="ogfYd705cRs" params="controls=0&start=10&end=30&modestbranding=2&rel=0&enablejsapi=1"></lite-youtube>
Note that lite-youtube uses autoplay=1
by default.
Demo: https://paulirish.github.io/lite-youtube-embed/variants/params.html
Use this as your HTML, load the script asynchronously, and let the JS progressively enhance it.
<lite-youtube videoid="ogfYd705cRs" style="background-image: url('https://i.ytimg.com/vi/ogfYd705cRs/hqdefault.jpg');">
<a href="https://youtube.com/watch?v=ogfYd705cRs" class="lty-playbtn" title="Play Video">
<span class="lyt-visually-hidden">Play Video: Keynote (Google I/O '18)</span>
</a>
</lite-youtube>
Demo: https://paulirish.github.io/lite-youtube-embed/variants/pe.html
If you want to provide a custom poster image, just set it as the background-image, and lite-yt will not overwrite it:
<lite-youtube videoid="ogfYd705cRs" style="background-image: url('https://i.ytimg.com/vi/ogfYd705cRs/hqdefault.jpg');"></lite-youtube>
Demo: https://paulirish.github.io/lite-youtube-embed/variants/custom-poster-image.html
justinribeiro/lite-youtube
👍ibrahimcesar/react-lite-youtube-embed
kylemocode/react-lite-yt-embed
andrewvasilchuk/vue-lazy-youtube-video
luwes/lite-vimeo-embed
slightlyoff/lite-vimeo
calibreapp/react-live-chat-loader
danielbachhuber/intercom-facade/