@hyperframes/player 0.4.15 → 0.4.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,13 @@ npm install @hyperframes/player
|
|
|
11
11
|
Or load directly via CDN:
|
|
12
12
|
|
|
13
13
|
```html
|
|
14
|
-
<script src="https://cdn.jsdelivr.net/npm/@hyperframes/player"></script>
|
|
14
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@hyperframes/player"></script>
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
If you need a classic `<script>` tag instead of ESM, use the explicit global build:
|
|
18
|
+
|
|
19
|
+
```html
|
|
20
|
+
<script src="https://cdn.jsdelivr.net/npm/@hyperframes/player/dist/hyperframes-player.global.js"></script>
|
|
15
21
|
```
|
|
16
22
|
|
|
17
23
|
## Usage
|