size-limit
Plyr
Our great sponsors
size-limit | Plyr | |
---|---|---|
6 | 27 | |
6,384 | 25,279 | |
- | - | |
8.6 | 3.7 | |
7 days ago | about 1 month ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
size-limit
-
How to build tree-shakeable JavaScript libraries
However, you can use the Size Limit library to control the size of a bundle or individual exports. Here’s an example configuration:
-
Trim the fat: tips for keeping bundle size small 🏋️
It's always good to keep track of these things over time so performance doesn't slide. Parcel, which I used for this project, has a helpful bundle analyzer (similar to the one for Webpack) that gives a nice visual overview of a project's bundle. This is especially helpful for identifying bundled dead code coming from packages that could be avoided with tree-shaking. There are also plenty of tools you can integrate with CI to enforce bundle size.
-
Understanding nouns with tinyplural
TSDX is a great package for npm packages like this and even bundles with size-limit to check your gzipped final bundle size. Keeping a tiny package was really important to me so there are 0 dependencies and size-limit made me realise that simplifying all of my checking functions into 1 or 2 core functions that took options would be a better strategy and help reduce the code size.
-
Codebytes: Shorter UUIDs with collision prediction using nanoid
Small. 130 bytes (minified and gzipped). No dependencies Size Limit controls the size.
-
7 Trending projects on GitHub for JavaScript developers
Size Limit is a performance budget tool for JavaScript. It checks every commit on CI, calculates the real cost of your JS for end-users, and throws an error if the cost exceeds the limit. Link: https://github.com/ai/size-limit
-
Egghead's State Management Portfolio Club Journey - Week 1: An RDD Approach
-Mark Erikson and Joel Hooks talk on Redux -When and when not to reach for Redux -Redux Introduction -Egghead course by Dan Abramov on Fundamentals of Redux -RDD article by Tom Preston Werner -Another Article on RDD -Article on writing a great Readme -RDD Readme Example: size-limit
Plyr
-
Best way to showcase videos without the site becoming slow?
Here is a free no-code tool I made that lets you use plyr.io with your Vimeo videos. The benefit also being that you can customize your Vimeo videos appearance without a Vimeo pro account: vimeoconfig.com
Just going to post my free no-code tool again for u/Thenmatwaslike. It's a great way to visualize the changes you're making to your Vimeo video with plyr.io, and then it spits out the code you need for your Webflow site. https://vimeoconfig.com/
-
Anyone Knows of A Good Responsive Video Player For SvelteKit?
I always struggle to get vanilla JS stuff to work in Svelte; looks like these folks have made a Svelte component for it https://github.com/sampotts/plyr
You shouldn’t need a svelte-specific video player—you can just use a vanilla js library, Plyr for example
-
What are the modifications I can make to create YouTube video player without breaking YouTube and PlayStore TOS?
Also Overlays and frames mentions that You must not display overlays, frames, or other visual elements in front of any part of a YouTube embedded player, including player controls. Similarly, you must not use overlays, frames or other visual elements to obscure any part of an embedded player, including player controls. Does this mean that you can't have your own custom controller? But if that is so, then all other players such as (plyr.io)[https://github.com/sampotts/plyr] must be invalid. So I must be reading something wrong.
-
Online Video Streamer and Audio Transcription
Plyr
-
Plyr- A media Player that is must have!
Github Repo
Plyr is a simple, lightweight, accessible and customizable HTML5, YouTube and Vimeo media player that supports modern browsers.
-
I've just learned that there's a custom video player for embedding youtube videos on your site, which removes youtube logo, titles, ads, etc. How is that possible?
Check out https://plyr.io/
- 7 Trending projects on GitHub for JavaScript developers
What are some alternatives?
video.js - Video.js - open source HTML5 video player
react-player - A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion
hls.js - HLS.js is a JavaScript library that plays HLS in browsers with support for MSE.
mediaelement - HTML5 <audio> or <video> player with support for MP4, WebM, and MP3 as well as HLS, Dash, YouTube, Facebook, SoundCloud and others with a common HTML5 MediaElement API, enabling a consistent UI in all browsers.
clappr - :clapper: An extensible media player for the web.
video-react - A web video player built for the HTML5 world using React library.
jPlayer Jukebox - jPlayer Jukebox is add-on to jPlayer that allows to play media files on the page by scanning all links and adding them to a playlist.
Reactjs-popup - React Popup Component - Modals,Tooltips and Menus — All in one
flv.js - HTML5 FLV Player
AmplitudeJS - AmplitudeJS: Open Source HTML5 Web Audio Library. Design your web audio player, the way you want. No dependencies required.
flowplayer - The HTML5 video player for the web
react-hover-video-player - A React component for rendering videos that play on hover, including support for mouse and touch events and a simple API for adding thumbnails and loading states.