swf2es 0.1.12 → 0.1.14
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 +4 -4
- package/dist/chunks/930051e19c278c65.js.map +1 -1
- package/dist/chunks/{b923126cea63fa57.js → d00ed55cd343c0c0.js} +8 -8
- package/dist/chunks/d00ed55cd343c0c0.js.map +1 -0
- package/dist/codegen.wasm +0 -0
- package/dist/swf2es.js +11 -11
- package/dist/swf2es.js.map +1 -1
- package/dist/worker.js +8 -8
- package/dist/worker.js.map +1 -1
- package/package.json +4 -4
- package/dist/chunks/b923126cea63fa57.js.map +0 -1
package/README.md
CHANGED
|
@@ -9,18 +9,18 @@ modules that loads from a CDN, with nothing to install or build. A page
|
|
|
9
9
|
that has a bundler installs `@swf2es/web` instead.
|
|
10
10
|
|
|
11
11
|
```html
|
|
12
|
-
<script type="module" src="https://unpkg.com/swf2es@0.1.
|
|
12
|
+
<script type="module" src="https://unpkg.com/swf2es@0.1.14"></script>
|
|
13
13
|
|
|
14
14
|
<swf2es-player src="movie.swf" width="800" height="600"></swf2es-player>
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
jsDelivr serves it too, at `https://cdn.jsdelivr.net/npm/swf2es@0.1.
|
|
17
|
+
jsDelivr serves it too, at `https://cdn.jsdelivr.net/npm/swf2es@0.1.14`.
|
|
18
18
|
The module exports what `@swf2es/web` does. To call it, import it from the
|
|
19
19
|
same URL, so that the page has one copy:
|
|
20
20
|
|
|
21
21
|
```html
|
|
22
22
|
<script type="module">
|
|
23
|
-
import { configure, watchFlash } from "https://unpkg.com/swf2es@0.1.
|
|
23
|
+
import { configure, watchFlash } from "https://unpkg.com/swf2es@0.1.14";
|
|
24
24
|
|
|
25
25
|
configure({ cache: true }); // keep compiled modules in IndexedDB
|
|
26
26
|
watchFlash(); // the page's Flash <object> and <embed> tags become players
|
|
@@ -37,7 +37,7 @@ Name a version in the URL. Until 1.0, a minor release (0.2) may change
|
|
|
37
37
|
what a page sees, so pin at least the minor version: unpkg's
|
|
38
38
|
`swf2es@0.1` takes 0.1's fixes as they are released, and redirects to the
|
|
39
39
|
exact version, whose files the page then loads together. On jsDelivr, pin
|
|
40
|
-
the exact version (`swf2es@0.1.
|
|
40
|
+
the exact version (`swf2es@0.1.14`): it serves a range without
|
|
41
41
|
redirecting, so the files the main one loads later would come from
|
|
42
42
|
whatever version the range names by then.
|
|
43
43
|
|