@scarlett-player/ui 1.8.0 → 1.8.1
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 +18 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -108,6 +108,24 @@ that, the Speed sub-panel is 253px tall against a 211px portrait phone player
|
|
|
108
108
|
and loses its Back header and its first three speeds to the host's
|
|
109
109
|
`overflow: hidden`.
|
|
110
110
|
|
|
111
|
+
## Layout
|
|
112
|
+
|
|
113
|
+
`controls` is the order of slots in the bar. The default is:
|
|
114
|
+
|
|
115
|
+
```typescript
|
|
116
|
+
uiPlugin({
|
|
117
|
+
controls: [
|
|
118
|
+
'play', 'skip-backward', 'skip-forward', 'volume', 'time',
|
|
119
|
+
'live-indicator', 'bandwidth-indicator', 'spacer', 'settings',
|
|
120
|
+
'captions', 'chromecast', 'airplay', 'pip', 'fullscreen',
|
|
121
|
+
],
|
|
122
|
+
});
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
Any id a plugin registers through the control registry (`share`, `chapters`,
|
|
126
|
+
`playlist-previous`, `playlist-next`, ...) can be placed in the same list. A
|
|
127
|
+
control whose plugin is not loaded is skipped.
|
|
128
|
+
|
|
111
129
|
## Keyboard Shortcuts
|
|
112
130
|
|
|
113
131
|
| Key | Action |
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scarlett-player/ui",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.1",
|
|
4
4
|
"description": "UI Controls Plugin for Scarlett Player",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"typescript": "^5.3.0",
|
|
30
30
|
"vitest": "^1.6.0",
|
|
31
31
|
"jsdom": "^24.0.0",
|
|
32
|
-
"@scarlett-player/core": "1.8.
|
|
32
|
+
"@scarlett-player/core": "1.8.1"
|
|
33
33
|
},
|
|
34
34
|
"keywords": [
|
|
35
35
|
"video",
|