From 0fca5bf124e2227aea64fc7b222c6ae2f7cac1e9 Mon Sep 17 00:00:00 2001 From: Rust Saiargaliev Date: Thu, 27 Jun 2024 14:04:36 +0200 Subject: [PATCH] Fix #2799 -- drop recommendation of polyfill.io The polyfill.io domain is shut down due to the reports of a malicious activity It is better to not recommend/promote it Refs: - https://snyk.io/blog/polyfill-supply-chain-attack-js-cdn-assets/ - https://www.sonatype.com/blog/polyfill.io-supply-chain-attack-hits-100000-websites-all-you-need-to-know --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bd95976f4..c59619c9f 100644 --- a/README.md +++ b/README.md @@ -768,7 +768,7 @@ Plyr supports the last 2 versions of most _modern_ browsers. ## Polyfills -Plyr uses ES6 which isn't supported in all browsers quite yet. This means some features will need to be polyfilled to be available otherwise you'll run into issues. We've elected to not burden the ~90% of users that do support these features with extra JS and instead leave polyfilling to you to work out based on your needs. The easiest method I've found is to use [polyfill.io](https://polyfill.io) which provides polyfills based on user agent. This is the method the demo uses. +Plyr uses ES6 which isn't supported in all browsers quite yet. This means some features will need to be polyfilled to be available otherwise you'll run into issues. We've elected to not burden the ~90% of users that do support these features with extra JS and instead leave polyfilling to you to work out based on your needs. ## Checking for support