@vizbeetv/sdk-qa 7.8.36
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 +84 -0
- package/chromecast/index.js +1 -0
- package/chromecast-v2/es5/index.js +1 -0
- package/chromecast-v2/es6/index.js +1 -0
- package/lg/es5/index.js +1 -0
- package/lg/es6/index.js +1 -0
- package/package.json +25 -0
- package/samsung/es5/index.js +1 -0
- package/samsung/es6/index.js +1 -0
- package/vizio/index.js +1 -0
- package/xbox/es5/index.js +1 -0
- package/xbox/es6/index.js +1 -0
package/README.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# @vizbee/sdk-qa
|
|
2
|
+
|
|
3
|
+
Vizbee TV SDK — pre-built platform bundles distributed as a single npm package with subpath exports.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npm install @vizbee/sdk-qa
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
Import the subpath that matches your target platform. Each subpath resolves to a self-contained, minified ESM bundle.
|
|
14
|
+
|
|
15
|
+
### Samsung (Tizen)
|
|
16
|
+
|
|
17
|
+
```js
|
|
18
|
+
// ES5 — Tizen 2.x / Chrome 38+ (default)
|
|
19
|
+
import vizbee from '@vizbee/sdk-qa/samsung';
|
|
20
|
+
|
|
21
|
+
// ES6 — Tizen 5.5+ / Chrome 72+
|
|
22
|
+
import vizbee from '@vizbee/sdk-qa/samsung/es6';
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### LG (WebOS)
|
|
26
|
+
|
|
27
|
+
```js
|
|
28
|
+
// ES5 — WebOS 3.x / Chrome 38+ (default)
|
|
29
|
+
import vizbee from '@vizbee/sdk-qa/lg';
|
|
30
|
+
|
|
31
|
+
// ES6 — WebOS 6+ / Chrome 72+
|
|
32
|
+
import vizbee from '@vizbee/sdk-qa/lg/es6';
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Vizio SmartCast
|
|
36
|
+
|
|
37
|
+
```js
|
|
38
|
+
import vizbee from '@vizbee/sdk-qa/vizio';
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Xbox
|
|
42
|
+
|
|
43
|
+
```js
|
|
44
|
+
// ES5 (default)
|
|
45
|
+
import vizbee from '@vizbee/sdk-qa/xbox';
|
|
46
|
+
|
|
47
|
+
// ES6
|
|
48
|
+
import vizbee from '@vizbee/sdk-qa/xbox/es6';
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Chromecast CAF (v3)
|
|
52
|
+
|
|
53
|
+
```js
|
|
54
|
+
import vizbee from '@vizbee/sdk-qa/chromecast';
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Chromecast v2 (MediaManager)
|
|
58
|
+
|
|
59
|
+
```js
|
|
60
|
+
// ES5 (default)
|
|
61
|
+
import vizbee from '@vizbee/sdk-qa/chromecast-v2';
|
|
62
|
+
|
|
63
|
+
// ES6
|
|
64
|
+
import vizbee from '@vizbee/sdk-qa/chromecast-v2/es6';
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Platform reference
|
|
68
|
+
|
|
69
|
+
| Subpath | Platform | JS Target |
|
|
70
|
+
|---|---|---|
|
|
71
|
+
| `/samsung`, `/samsung/es5` | Samsung (Tizen) | ES5 / Chrome 38+ |
|
|
72
|
+
| `/samsung/es6` | Samsung (Tizen 5.5+) | ES6 / Chrome 72+ |
|
|
73
|
+
| `/lg`, `/lg/es5` | LG (WebOS) | ES5 / Chrome 38+ |
|
|
74
|
+
| `/lg/es6` | LG (WebOS 6+) | ES6 / Chrome 72+ |
|
|
75
|
+
| `/vizio` | Vizio SmartCast | ES5 |
|
|
76
|
+
| `/xbox`, `/xbox/es5` | Xbox | ES5 |
|
|
77
|
+
| `/xbox/es6` | Xbox | ES6 |
|
|
78
|
+
| `/chromecast` | Chromecast CAF (v3) | ES5 |
|
|
79
|
+
| `/chromecast-v2`, `/chromecast-v2/es5` | Chromecast v2 (MediaManager) | ES5 |
|
|
80
|
+
| `/chromecast-v2/es6` | Chromecast v2 (MediaManager) | ES6 |
|
|
81
|
+
|
|
82
|
+
## Window globals
|
|
83
|
+
|
|
84
|
+
Each bundle also sets `window.VizbeeSDK` and `window.vizbee` on load for backward compatibility with existing script-tag consumers. The default export and the window global point to the same object.
|