mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
Update README.md
This commit is contained in:
1 parent
97b6778111
commit
e5e7498a2b
1 file changed
+6
-2
@@ -53,16 +53,20 @@ $ yarn add artplayer
|
||||
import Artplayer from 'artplayer';
|
||||
```
|
||||
|
||||
Or umd builds are also available:
|
||||
Or umd build also available:
|
||||
|
||||
```html
|
||||
<script src="path/to/artplayer.js"></script>
|
||||
```
|
||||
|
||||
Or from jsDelivr CDN:
|
||||
Or from CDN:
|
||||
|
||||
```html
|
||||
<!-- jsdelivr -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/artplayer/dist/artplayer.js"></script>
|
||||
|
||||
<!-- unpkg -->
|
||||
<script src="https://unpkg.com/artplayer/dist/artplayer.js"></script>
|
||||
```
|
||||
|
||||
Will expose the global variable to `window.Artplayer`.
|
||||
|
||||
Reference in new issue
Block a user