mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
fix: enhance user agent detection to support custom user agent
This commit is contained in:
1 parent
dd57cc2a03
commit
6c4e9f7e78
27 files changed
+324
-283
No files matched your search
@@ -356,6 +356,12 @@ Refer to documentation: [browserslist](https://github.com/browserslist/browsersl
|
||||
|
||||
## ECMAScript Module
|
||||
|
||||
::: tip ESM Demo:
|
||||
|
||||
[https://artplayer.org/esm.html](https://artplayer.org/esm.html)
|
||||
|
||||
:::
|
||||
|
||||
Starting from `5.2.4`, `artplayer` and all plugins will also provide an `ESM` version of `js`, such as:
|
||||
|
||||
- `artplayer/dist/artplayer.esm.js`
|
||||
|
||||
@@ -361,6 +361,12 @@ https://unpkg.com/artplayer/dist/artplayer.legacy.js
|
||||
|
||||
## ECMAScript Module
|
||||
|
||||
::: tip ESM Demo:
|
||||
|
||||
[https://artplayer.org/esm.html](https://artplayer.org/esm.html)
|
||||
|
||||
:::
|
||||
|
||||
从 `5.2.4` 开始,`artplayer`和所有插件还会提供一个`ESM`版本的`js`,如:
|
||||
|
||||
- `artplayer/dist/artplayer.esm.js`
|
||||
|
||||
Reference in new issue
Block a user