mrkeyoor.comAsk

sampotts/plyrtested 28 Nov 2026commit b23f9b7

plyr review

Our Plyr source run installed in 10 seconds and built in 9 seconds, with tests skipped because no test target existed.

  • README snippet failed
  • 5.3 MB on disk
10 sto install
  • 4 dependencies
  • Build 9 s
Webevaluationupdated 29 Nov 2026
+2stars / 7d

Plyr is a JavaScript player that adds customizable controls to HTML5 audio and video, YouTube and Vimeo embeds. It's deprecated and receives security updates only; the official site recommends Video.js 10 for new projects.

Verdict

Our Plyr source run installed in 10 seconds and built in 9 seconds, with tests skipped because no test target existed. Use it if you're maintaining an existing integration with known playback behavior; skip it if you're selecting a player for a new site. Plyr's security-only maintenance notice and explicit recommendation of Video.js 10 make the migration decision more consequential than its customizable controls.

Plyr infographic: customizable controls for your site's audio and video, plus our test result and who it suits
Tested 28 November 2026: the README snippet failed with "ReferenceError: document is not". Before that: source install 10 s, build 9 s; npm install took 3.8 s.

We ran it

Lab card: what happened when we ran plyr
Lab card from our sandbox run
Screenshot of plyr (plyr.io)
plyr.io
Install✓ · 10s566 packages · 364 MB
Build✓ · 9s
Testsn/ano test script
Repo156 files~10,666 lines of source · 0.9 MB · 2 CI workflows

Answers from our run

Does plyr build from source?

Dependencies installed in 10 seconds (566 packages), and the build succeeded in 9 seconds. We cloned commit b23f9b7 into a clean Debian container with 3 CPUs and no project-specific setup.

Does plyr have tests you can run?

Not through a standard command: the project exposes no test script or target that our harness could run.

Who should not use plyr?

New websites choosing a media player: Plyr's official site recommends Video.js 10 instead.

What are the alternatives to plyr?

Video.js 10, Vidstack, Vimeo's native player. Our Plyr source run installed in 10 seconds and built in 9 seconds, with tests skipped because no test target existed.

Setup3/5In our 2026-11-28 run it installed in 3.8 s, but the README’s “JavaScript” example failed as written with “ReferenceError: document is not defined”.Editor’s note: Source installation and compilation succeeded; browser playback and a complete site integration were outside the executed tasks.
Docs2/5The 10,860-character README has no usage instructions or examples, and its example failed as written in our 2026-11-28 run.Editor’s note: The README documents providers, configuration and migration; the quickstart error came from executing its JavaScript under Node without a browser document.
Community5/5Last push on 2026-10-21, 29,976 stars and maintainers answered or closed 10 of the 10 most-discussed issues we sampled.Editor’s note: Sampled threads include maintainer replies and confirmed user workarounds, without a measured support response time or adoption count.
Maturity4/5Latest release v3.8.5 on 2026-10-06 and repository created 2015-02-14.Editor’s note: The official policy is security updates only. Historical issue closures are not a current browser or accessibility assessment.

How we score

Discussed on

  1. hnPlyr – A simple HTML5, YouTube and Vimeo player5 points

Who it’s for

Developers maintaining existing Plyr integrations with known media and browser requirements.
Webflow maintainers adapting an established player layout and its surrounding embed dimensions.
Teams prepared to own streaming-engine wiring and provider-specific regression checks during migration.

Who it’s NOT for

New websites choosing a media player: Plyr's official site recommends Video.js 10 instead.
Teams expecting ordinary feature development: the stated maintenance policy is security updates only.
Projects requiring a passing upstream test command as an adoption condition: our measured checkout had no tests script or target.
Teams buying a caption or accessibility guarantee from a feature list: the historical specialist assessment and Vimeo thread document specific integration problems.

Setup reality

Our November 28, 2026 source run at b23f9b7 installed in 10 seconds and built in 9 seconds, recording 566 dependencies and 364 MB on disk. Tests were skipped because there was no tests script or target. The sandbox configuration was 3 CPUs, 8 GB RAM and image lab-node:22; actual runtime versions require the toolchain logs.

The README pairs JavaScript and CSS with HTML media markup. Native playback uses your media URLs; YouTube and Vimeo need their hosted embeds, and HLS examples use a separate streaming library. Cross-domain caption hosting requires the documented CORS setup.

A separate quickstart ran the README JavaScript block under Node and failed with ReferenceError: document is not defined. It exercised that execution path, not browser playback. Initialize the player in a browser document; choose whether to retain the default CDN icon request or host the sprite yourself.

Plyr is a JavaScript web media player for HTML5 audio and video, YouTube and Vimeo. Our source checkout installed in 10 seconds and built in 9 seconds, but the project now receives security updates only. Use it if you're maintaining an existing integration that already meets your needs; skip it if you're choosing a player for a new website, because Plyr's official site recommends Video.js 10.

The useful question is how much of your existing player you actually own. With a video file, you control the media and caption files. With YouTube or Vimeo, Plyr adds controls around someone else's playback system. The historical reports below show where that distinction reaches the reader: missing sound, oversized subtitles and extra work to switch stream quality.

What people use plyr for

Plyr supplies customizable controls for HTML5 media and YouTube/Vimeo embeds, according to its README. You can give a site's audio and video a shared appearance without adopting a JavaScript framework. The documented API covers playback, seeking and volume, while caption tracks and translated control labels let you adapt the interface to your content.

That makes sense for a site with an existing player design. It doesn't make Plyr a video hosting service. The README's HTML5 example points to your media files and optional VTT captions, a text format containing timed subtitles. YouTube and Vimeo examples instead identify a hosted video. Streaming examples connect separate libraries such as hls.js, which handles HTTP Live Streaming manifests and media segments. A common control bar is only one part of that arrangement.

Developers have used Plyr for home-video browsing, Webflow integrations and custom HLS quality controls, with different amounts of application code around it.

The Webflow example is useful if you inherit that kind of site: its default-controls tutorial explicitly says to size the HTML embed or its parent so the player appears. Copying the JavaScript without its surrounding layout misses a requirement the tutorial calls out for both YouTube and Vimeo.

What happened when we ran it

Our source checkout installed in 10 seconds and built in 9 seconds on November 28, 2026, at commit b23f9b7; the separate quickstart reached a JavaScript error when its README example ran under Node.

In that quickstart, the task was to execute the README's JavaScript block unchanged. The run used a fresh unprivileged container without published ports or secrets. Cloning completed, and the run progressed to the example. Then Node exited with ReferenceError: document is not defined, with the tail pointing into plyr/dist/plyr.mjs. The recorded finding repeats that error. Teardown completed successfully.

The error names the missing browser document. The README's quick setup pairs JavaScript with HTML media markup, so running that block in Node alone omits the page it is meant to control. The result is an unsuccessful quickstart execution in that environment, rather than a demonstrated failure to play a video in a browser. In an application that renders pages on the server, keep player initialization on the browser side.

Our measurement setup separated the source-development run from the quickstart: the former used the checkout at b23f9b7 with the resources below, while the latter executed a README block under Node. The source run recorded these results:

Source-development check Our recorded result
Dependency installation Succeeded in 10 seconds
Build Succeeded in 9 seconds
Tests Skipped: no tests script or target
Dependency tree 566 dependencies recorded; 364 MB on disk
Checkout 156 files; about 10,666 source lines; 0.9 MB
Repository signals 2 CI workflow files; no Dockerfile; no tests directory; monorepo workspaces
Sandbox configuration 3 CPUs; 8 GB RAM; image label lab-node:22

We measured 364 MB for the source-development dependency tree. That figure is not the size of the player sent to a visitor's browser. A successful build gives an existing maintainer a useful starting point, but the skipped test step supplies no passing playback checks. The image name records the configured image; actual runtime and operating-system versions require the raw toolchain logs.

Where people get stuck: provider controls and stream quality

The HLS quality-selector discussion contains working user workarounds, while the Vimeo-caption and Android-WebView discussions contain disputed fixes or partial workarounds.

Reported problem What participants tried or achieved How to use that finding
HLS quality choices in #1741 Matho parsed manifests in Ruby; tca3 shared hls.js manifest-level wiring; phuongncn reported quality switching that kept the playback position Budget integration around the streaming engine, including seeking after a switch
Oversized Vimeo captions in #877 Sam Potts proposed a v3.2.0 fix; matoni555 replied that captions were still too big Treat the proposed fix as disputed; compare the same video in Vimeo's own player
YouTube sound in Android WebViews in #1993 deepansh96 reported muted playback; MrProLopstar said turning sound back on stopped it Muting is a partial workaround when audio is required
Cropping and overflow in #339 The maintainer added an embed-ratio option in v3; a later commenter reported portrait overflow and an ignored ratio Include portrait, 4:3 and fullscreen cases in your own acceptance checks

In issue #1741, Matho described extracting source links and quality information from an m3u8 manifest. A manifest is the playlist describing an HLS stream and its available variants. tca3's alternative used levels parsed by hls.js to populate Plyr's quality choices. Neither approach makes an HLS integration a native file-source selector, and peterfranzo specifically reported unreliable MPEG-DASH behavior with the approaches in that discussion.

The Vimeo story is more revealing than a feature checkbox. explorier first thought captions worked using an example embed. When they substituted a client's videos and subtitles, the huge captions appeared. In the same thread, the maintainer explained that hiding Vimeo's controls affected the size Vimeo used for rendering captions. friday suggested disabling captions, changing provider or using Vimeo's player. Removing subtitles is a poor trade if your audience needs them.

For Android, deepansh96 and MrProLopstar described YouTube embeds that played muted but stopped with sound. Direct API calls and extra user-action buttons also failed in their attempts. Those are historical reports about particular WebViews, the browser components embedded inside apps. They aren't a failure rate for all Android visitors.

Multiple players need application bookkeeping

Sam Potts explained in issue #144 that the v3 constructor has no knowledge of other player instances. The thread includes a confirmed workaround from ZilMehta that pauses other players on a play event, followed by their question about dynamically inserted players. Old examples using plyr.setup() belong to an earlier API, as the maintainer pointed out.

For a gallery you maintain, keep references to live instances and attach the same coordination handler when a new player is created. Remove destroyed instances from that collection. That's an implementation recommendation derived from the constructor boundary, rather than a browser-tested recipe from our lab. The current README also marks its autopause option as Vimeo-only, so its name shouldn't be read as a promise to coordinate every provider on the page.

Accessibility needs an assessment of your actual player

A specialist assessment reported slider semantics and keyboard-focus problems in Plyr, and the maintainer said most initial fixes were included in v3.2.1. In issue #905, fleps then reported additional findings from an assessment of the demo page. That sequence matters more than the issue's closed label: an initial fix was followed by another inspection and another list of problems.

The README advertises caption and screen-reader support. If you're responsible for accessibility, turn that feature claim into concrete acceptance work: keyboard access to controls, visible focus, understandable slider values and readable captions on the media your site uses. WCAG is the Web Content Accessibility Guidelines; mentioning an older WCAG assessment isn't a certificate for a different release, custom control layout or embedded provider.

Security and privacy settings include outside requests

Plyr's README enables local storage for user settings by default and documents a CDN URL for its SVG control icons. If your site needs locally hosted assets, configure iconUrl or manage the sprite yourself. The README's options and SVG instructions describe those choices, rather than requiring the default icon request.

The YouTube options document noCookie with a default of false. That is a configuration fact, not a legal compliance assessment. For captions hosted on another domain, the README requires the media element's crossorigin attribute and appropriate headers on the caption host. These are useful details for an existing site's content-security and privacy review: a locally hosted control library can still depend on remotely hosted media, icons and provider APIs.

Plyr vs Video.js 10, Vidstack and provider players

Video.js 10 is the destination recommended by Plyr's official site for new projects. The older Vidstack discussion is useful migration history, but its early advice to keep using Plyr must be read alongside today's official direction.

Choice What the sources actually support When to consider it
Video.js 10 Plyr's site explicitly recommends it for new projects You're selecting a player now or evaluating the official migration route
Vidstack The earlier merger thread discussed a legacy Plyr skin and a rewrite; its developer then advised waiting You're tracing an existing migration decision and need to distinguish old promises from current documentation
Vimeo's native player friday suggested it in the caption discussion as an alternative to Plyr's wrapper Vimeo captions matter more than matching your site's custom controls
Self-hosted HTML5 media friday suggested hosting the media yourself for greater control over rendering You can own the media delivery and caption files as well as the control bar

The Vidstack thread describes a planned legacy skin with mostly the same configuration options. It also describes a complete rewrite. A plan for a similar appearance is not a guarantee that a later migration preserves your event handlers, provider settings or layout. For an existing site, inventory those dependencies before estimating the move: the streaming-engine bridge and caption behavior deserve their own entries alongside the visual theme.

What the other reviews get wrong

The whatisgithub explainer overstates uniform browser appearance and equivalent control behavior between providers. Its Plyr page says the player looks the same across modern browsers and works on any screen size. Issue #339 contains reports of cropping and portrait overflow, including a later complaint about the ratio setting. That history rules out an unconditional assurance; it doesn't show that every current layout is broken.

The same explainer presents YouTube and HTML5 control code as working the same way. In issue #1993, MrProLopstar reported Plyr showing playback as active while YouTube stayed paused. A shared API can simplify your code without making provider behavior identical. And integration tutorials need a maintenance-policy warning beside their setup instructions: the official site now puts new projects on Video.js 10.

Plyr here means the JavaScript media player

This review concerns sampotts/plyr, not the similarly named R data-processing package or Skullcandy headset. The R package describes splitting data, applying functions and combining results, while Qualbert's PLYR review concerns a wireless gaming headset.

For “plyr vs dplyr,” you're looking for the R ecosystem, not a choice between web video players. “plyreporter” leads to Ply Reporter's plywood-industry publication. The searches “plyr swimming goggles” and “plyr badminton racket” don't identify capabilities or accessories of this JavaScript library. None of those names is a reason to select it for your website.

Questions people ask

Plyr receives security updates only, and its official site recommends Video.js 10 for new projects. Existing installations need a migration decision based on their actual media, captions and controls, rather than an old tutorial's continued availability.

Should I keep using Plyr or migrate to its successor?

For a new project, follow Plyr's recommendation to use Video.js 10. For an existing installation, our recommendation is to scope the migration around the features you use while maintaining your current integration. Security-only maintenance changes the case for adding new dependencies on Plyr's behavior.

Will migration preserve Plyr's appearance, configuration and YouTube/Vimeo support?

The earlier Vidstack discussion promised a legacy skin and mostly the same settings, and described YouTube/Vimeo support as planned. Those were statements about that migration effort, not confirmation of a completed move for your site. Use the current migration guide linked from Plyr's README to map your integration.

Can I use YouTube and Vimeo videos instead of HTML5 video files?

Yes. The Plyr README documents both YouTube and Vimeo embeds. The README offers iframe enhancement or provider-identifying data attributes. These embeds retain provider-specific behavior, so the choice also determines who controls the underlying video, captions and playback restrictions. Use your own media files when you need to own the caption files and media delivery as well as the controls.

How do I add an HLS quality selector using levels from the stream manifest?

tca3's example in issue #1741 waits for hls.js to parse the manifest, then uses its levels to populate quality options. Connect selection to the streaming engine as well as the displayed menu. Matho's earlier approach instead parsed the manifest in Ruby and supplied separate sources.

Can I change MPEG-DASH or HLS resolution while the video is playing?

phuongncn reported HLS quality switching that retained playback time, while peterfranzo reported unreliable MPEG-DASH results with the approaches in issue #1741. Those different outcomes support treating HLS and DASH as separate integration tasks.

How do I seek to a specific time when using an HLS quality-switching workaround?

Plyr's documented currentTime setter accepts seconds. However, JohnTrabusca reported that seeking failed with an HLS workaround even though quality switching worked in issue #1741. A setter in the general API isn't proof that a particular stream-reloading workaround preserves seeking.

Why are Vimeo captions duplicated or too large, and is there a workaround?

Sam Potts attributed the sizing problem to the enlarged Vimeo container used to hide its controls. The proposed v3.2.0 fix was disputed in issue #877. Commenter friday suggested Vimeo's own player or another media source, as well as disabling captions. For caption-dependent content, retaining subtitles should be part of the acceptance decision rather than treating their removal as a successful repair.

Can I disable Vimeo captions when I do not control the original video?

xnetdude asked that question in issue #877, after disabling captions was suggested. The thread also records cross-origin errors when another participant tried manipulating the iframe. It offers no demonstrated procedure that answers the question for someone else's video.

How do I set the aspect ratio and prevent cropping in portrait, 4:3 and fullscreen video?

The maintainer added an embed-ratio option in v3, but issue #339 also contains a later report of portrait overflow despite that option. Start with the ratio setting documented for your release and inspect the actual video in both its page container and fullscreen.

Why does YouTube playback fail with sound in Android WebViews?

Participants in issue #1993 reported muted playback working where playback with sound failed. They discussed autoplay and user-gesture restrictions, but their explanations were troubleshooting hypotheses. The observable result was that sound changed whether playback continued in their environments.

Can YouTube events or direct API calls make WebView playback work?

Direct playVideo() calls and listening to Plyr events failed in the attempts described by deepansh96 and MrProLopstar in issue #1993. One participant also tried a separate button intended to provide a user action, without success. Don't treat those suggestions as a confirmed audio-enabled workaround or tell a user that calling the same API again will fix their playback.

How do I automatically pause other Plyr instances when one starts playing?

ZilMehta confirmed a handler that pauses every other instance when one emits play. Keep the instance list current if the page inserts or destroys players. Their follow-up about dynamically added instances is a separate lifecycle question from coordinating the initial list.

What we have not tested yet

Our runs cover source setup and compilation, plus a Node execution of a browser-oriented quickstart; they don't include successful browser playback. We have not tested current caption rendering, audio-enabled Android WebViews, portrait/fullscreen layout, streaming quality changes, seeking after a switch, or a complete lifecycle for dynamically added players. The historical issues identify useful regression cases, not current compatibility results.

We did not perform a current accessibility assessment, security audit, vulnerability count, production-load test or comparison benchmark. The documentation's CDN and storage options are configuration facts, not observed network behavior. Browser download size, concurrent-player resource use, provider availability and commercial support terms are also outside our measurements. The video entries contain no usable demonstration transcript for this player, so no creator's playback results are attributed here.

GitHub's public API reported the last push on October 21, 2026, and the sampled discussions show both maintainer replies and user workarounds. That combination doesn't measure support response times or production adoption. The official security-only notice supplies the clearer maintenance boundary.

For a migration, choose one real page containing your hardest media case, keep its current behavior as the acceptance reference, and follow the current guide linked from the official Plyr site. Include a client's captioned video if subtitles are part of the job: explorier's report shows why the demo clip alone is a poor acceptance test.

Alternatives

ProjectWhat it isPick it when
Video.js 10The player Plyr's official site recommends for new projects.Choose it when selecting a player for a new site or evaluating Plyr's official migration route.
VidstackThe player discussed in the earlier Plyr merger thread, which described a rewrite and planned legacy skin.Consider its historical role when tracing an existing migration plan; use current documentation rather than the old beta recommendation.
Vimeo's native playerA provider player suggested by a commenter in Plyr's Vimeo-caption thread.Consider it when preserving Vimeo's own caption rendering matters more than your custom control appearance.

Sources

  1. Plyr official maintenance notice
  2. Plyr README and configuration
  3. HLS quality-switching discussion
  4. Vimeo caption reports
  5. Android WebView playback reports
  6. Specialist accessibility assessment
  7. Multiple-player coordination
  8. Earlier migration discussion

More web reviews