@moq/watch 0.2.14 → 0.2.16
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 +10 -9
- package/audio/source.d.ts.map +1 -1
- package/broadcast-CG8jZRfA.js +1651 -0
- package/broadcast-CG8jZRfA.js.map +1 -0
- package/broadcast.d.ts.map +1 -1
- package/element.js +162 -178
- package/element.js.map +1 -1
- package/index.d.ts +0 -4
- package/index.d.ts.map +1 -1
- package/index.js +5 -289
- package/package.json +5 -4
- package/support/element.js +122 -172
- package/support/element.js.map +1 -1
- package/support/index.js +52 -53
- package/support/index.js.map +1 -1
- package/ui/components/button.d.ts +3 -0
- package/ui/components/button.d.ts.map +1 -0
- package/ui/components/center-play.d.ts +5 -0
- package/ui/components/center-play.d.ts.map +1 -0
- package/ui/components/control-bar.d.ts +6 -0
- package/ui/components/control-bar.d.ts.map +1 -0
- package/ui/components/fullscreen-button.d.ts +2 -1
- package/ui/components/fullscreen-button.d.ts.map +1 -1
- package/ui/components/latency.d.ts +5 -0
- package/ui/components/latency.d.ts.map +1 -0
- package/ui/components/live-badge.d.ts +9 -0
- package/ui/components/live-badge.d.ts.map +1 -0
- package/ui/components/play-pause.d.ts +1 -0
- package/ui/components/play-pause.d.ts.map +1 -1
- package/ui/components/quality.d.ts +5 -0
- package/ui/components/quality.d.ts.map +1 -0
- package/ui/components/settings-button.d.ts +5 -0
- package/ui/components/settings-button.d.ts.map +1 -0
- package/ui/components/settings-panel.d.ts +6 -0
- package/ui/components/settings-panel.d.ts.map +1 -0
- package/ui/components/volume-slider.d.ts +1 -0
- package/ui/components/volume-slider.d.ts.map +1 -1
- package/ui/element.d.ts.map +1 -1
- package/ui/element.js +674 -381
- package/ui/element.js.map +1 -1
- package/ui/format.d.ts +11 -0
- package/ui/format.d.ts.map +1 -0
- package/ui/fullscreen.d.ts +16 -0
- package/ui/fullscreen.d.ts.map +1 -0
- package/ui/graph.d.ts +18 -0
- package/ui/graph.d.ts.map +1 -0
- package/ui/icons.d.ts +5 -1
- package/ui/icons.d.ts.map +1 -1
- package/ui/state.d.ts +9 -0
- package/ui/state.d.ts.map +1 -0
- package/ui/stats.d.ts +3 -2
- package/ui/stats.d.ts.map +1 -1
- package/video/source.d.ts.map +1 -1
- package/broadcast-CLjMphZS.js +0 -5000
- package/broadcast-CLjMphZS.js.map +0 -1
- package/chat/index.d.ts +0 -17
- package/chat/index.d.ts.map +0 -1
- package/chat/message.d.ts +0 -16
- package/chat/message.d.ts.map +0 -1
- package/chat/typing.d.ts +0 -16
- package/chat/typing.d.ts.map +0 -1
- package/dom-BsFrLb_F.js +0 -35
- package/dom-BsFrLb_F.js.map +0 -1
- package/index.js.map +0 -1
- package/libav-opus-af-BlMWboA7.js +0 -368
- package/libav-opus-af-BlMWboA7.js.map +0 -1
- package/location/index.d.ts +0 -17
- package/location/index.d.ts.map +0 -1
- package/location/peers.d.ts +0 -16
- package/location/peers.d.ts.map +0 -1
- package/location/window.d.ts +0 -17
- package/location/window.d.ts.map +0 -1
- package/main-DGBFe0O7.js +0 -2301
- package/main-DGBFe0O7.js.map +0 -1
- package/preview.d.ts +0 -23
- package/preview.d.ts.map +0 -1
- package/ui/components/quality-selector.d.ts +0 -4
- package/ui/components/quality-selector.d.ts.map +0 -1
- package/ui/components/stats-button.d.ts +0 -3
- package/ui/components/stats-button.d.ts.map +0 -1
- package/ui/components/watch-status-indicator.d.ts +0 -4
- package/ui/components/watch-status-indicator.d.ts.map +0 -1
- package/user.d.ts +0 -17
- package/user.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -19,15 +19,15 @@ npm add @moq/watch
|
|
|
19
19
|
|
|
20
20
|
### No-build CDN usage
|
|
21
21
|
|
|
22
|
-
For quick demos or embeds where a bundler is overkill,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
For quick demos or embeds where a bundler is overkill, esm.sh serves the
|
|
23
|
+
published npm package as a browser-ready ESM module. Bare imports like
|
|
24
|
+
`@moq/hang` are automatically rewritten to other esm.sh URLs. No build step or
|
|
25
|
+
import map required:
|
|
26
26
|
|
|
27
27
|
```html
|
|
28
28
|
<script type="module">
|
|
29
|
-
import "https://
|
|
30
|
-
import "https://
|
|
29
|
+
import "https://esm.sh/@moq/watch/element";
|
|
30
|
+
import "https://esm.sh/@moq/watch/ui";
|
|
31
31
|
</script>
|
|
32
32
|
|
|
33
33
|
<moq-watch-ui>
|
|
@@ -37,9 +37,10 @@ other `+esm` URLs. No build step or import map required:
|
|
|
37
37
|
</moq-watch-ui>
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
Pin a version range in the URL for production
|
|
41
|
-
`https://
|
|
42
|
-
(`https://
|
|
40
|
+
Pin a version range in the URL for production, e.g.
|
|
41
|
+
`https://esm.sh/@moq/watch@0.2/element`. jsDelivr's `+esm` endpoint
|
|
42
|
+
(`https://cdn.jsdelivr.net/npm/@moq/watch/element.js/+esm`) works the same way
|
|
43
|
+
if you prefer it.
|
|
43
44
|
|
|
44
45
|
For anything beyond embedding on a static page you should install the
|
|
45
46
|
package and use a real bundler (the examples below).
|
package/audio/source.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../src/audio/source.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAU,KAAK,MAAM,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAKpC,MAAM,MAAM,MAAM,GAAG;IAEpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,WAAW,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAE1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