eme-encryption-scheme-polyfill

WebJar for eme-encryption-scheme-polyfill

Лицензия

Лицензия

Apache-2.0
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

eme-encryption-scheme-polyfill
Последняя версия

Последняя версия

2.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

eme-encryption-scheme-polyfill
WebJar for eme-encryption-scheme-polyfill
Ссылка на сайт

Ссылка на сайт

https://www.webjars.org
Система контроля версий

Система контроля версий

https://github.com/google/eme-encryption-scheme-polyfill

Скачать eme-encryption-scheme-polyfill

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/eme-encryption-scheme-polyfill/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>eme-encryption-scheme-polyfill</artifactId>
    <version>2.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/eme-encryption-scheme-polyfill/
implementation 'org.webjars.npm:eme-encryption-scheme-polyfill:2.0.2'
// https://jarcasting.com/artifacts/org.webjars.npm/eme-encryption-scheme-polyfill/
implementation ("org.webjars.npm:eme-encryption-scheme-polyfill:2.0.2")
'org.webjars.npm:eme-encryption-scheme-polyfill:jar:2.0.2'
<dependency org="org.webjars.npm" name="eme-encryption-scheme-polyfill" rev="2.0.2">
  <artifact name="eme-encryption-scheme-polyfill" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='eme-encryption-scheme-polyfill', version='2.0.2')
)
libraryDependencies += "org.webjars.npm" % "eme-encryption-scheme-polyfill" % "2.0.2"
[org.webjars.npm/eme-encryption-scheme-polyfill "2.0.2"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

EME & MediaCapabilities Encryption Scheme Polyfill

A polyfill to add support for EncryptionScheme queries in EME and MediaCapabilities.

Because this polyfill can't know what schemes the UA or CDM actually support, it assumes support for the historically-supported schemes of each well-known key system.

In source form (index.js), this is compatible with the Closure Compiler and the CommonJS module format. It can also be directly included via a script tag.

The minified bundle (dist/eme-encryption-scheme-polyfill.js) is a standalone module compatible with the CommonJS and AMD module formats, and can also be directly included via a script tag.

The v2.0.3 build is about 5.3kB uncompressed, and gzips to about 1.7kB.

To avoid the possibility of extra user prompts, this will shim EME & MC so long as they exist, without checking support for encryptionScheme upfront. The support check will happen on-demand the first time EME/MC are used.

Usage

npm install eme-encryption-scheme-polyfill
<script src="node_modules/eme-encryption-scheme-polyfill/dist/eme-encryption-scheme-polyfill.js"></script>
// Install both EME & MC polyfills at once:
EncryptionSchemePolyfills.install();

// Install each one separately (unminified source only):
EmeEncryptionSchemePolyfill.install();
McEncryptionSchemePolyfill.install();
org.webjars.npm

Google

Google ❤️ Open Source

Версии библиотеки

Версия
2.0.2
2.0.1