ez-vid-ang 22.0.6 → 22.0.8
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 +17 -8
- package/assets/eva-required-import.scss +71 -0
- package/fesm2022/ez-vid-ang.mjs +3053 -2210
- package/fesm2022/ez-vid-ang.mjs.map +1 -1
- package/package.json +3 -1
- package/types/ez-vid-ang.d.ts +1181 -674
package/README.md
CHANGED
|
@@ -176,6 +176,23 @@ export class PlayerComponent {
|
|
|
176
176
|
|
|
177
177
|
See [Simple Example](documentation/example-simple.md) and [Full-Featured Example](documentation/example-configuration.md) for complete usage.
|
|
178
178
|
|
|
179
|
+
## Components
|
|
180
|
+
|
|
181
|
+
Library has four groups of components. Click on the name to go to the documentation:
|
|
182
|
+
- [**EvaCore**](documentation/core) – Main player component, icon registry, directives (keyboard shortcuts, configuration storage), and providers
|
|
183
|
+
- [**EvaControls**](documentation/controls) – Video control components (play/pause, volume, scrub bar, fullscreen, playback speed, quality selector, track selector, loop, picture-in-picture, download, screenshot, context menu, settings panel, keyboard shortcuts overlay, cinema mode, error overlay, chapter list, and more)
|
|
184
|
+
- [**EvaBuffering**](documentation/buffering) – Loading and buffering indicators
|
|
185
|
+
- [**EvaStreaming**](documentation/streaming) – Directives for HLS and DASH live streaming support
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
## Roadmap
|
|
189
|
+
|
|
190
|
+
There are few functionalities I want to implement that are work in progress:
|
|
191
|
+
- **Audio selection** - Select audio track for the video
|
|
192
|
+
- **A/B loop** - Let users set loop start/end points on the scrub bar for segment replay. Useful for music/education.
|
|
193
|
+
- **Double tap forward/backward** - Double-tap left/right halves of the video to seek backward/forward. Standard mobile UX (YouTube, Netflix).
|
|
194
|
+
|
|
195
|
+
---
|
|
179
196
|
## Development
|
|
180
197
|
|
|
181
198
|
### Linting
|
|
@@ -189,14 +206,6 @@ npx ng lint --fix # Auto-fix fixable errors
|
|
|
189
206
|
|
|
190
207
|
All magic numbers are centralized in `src/lib/constants.ts`. See [linting documentation](documentation/core/linting.md) and [constants documentation](documentation/core/constants.md) for details.
|
|
191
208
|
|
|
192
|
-
## Components
|
|
193
|
-
|
|
194
|
-
Library has four groups of components. Click on the name to go to the documentation:
|
|
195
|
-
- [**EvaCore**](documentation/core) – Main player component, icon registry, directives (keyboard shortcuts, configuration storage), and providers
|
|
196
|
-
- [**EvaControls**](documentation/controls) – Video control components (play/pause, volume, scrub bar, fullscreen, playback speed, quality selector, track selector, loop, picture-in-picture, download, screenshot, context menu, settings panel, keyboard shortcuts overlay, cinema mode, error overlay, chapter list, and more)
|
|
197
|
-
- [**EvaBuffering**](documentation/buffering) – Loading and buffering indicators
|
|
198
|
-
- [**EvaStreaming**](documentation/streaming) – Directives for HLS and DASH live streaming support
|
|
199
|
-
|
|
200
209
|
---
|
|
201
210
|
### 💖 Support This Project
|
|
202
211
|
|
|
@@ -62,6 +62,25 @@
|
|
|
62
62
|
--eva-playback-speed-dropdown-content-speed-option-checkmark-size: 16px;
|
|
63
63
|
--eva-playback-speed-dropdown-content-speed-option-checkmark-color: rgb(59, 130, 246);
|
|
64
64
|
|
|
65
|
+
--eva-audio-track-selector-label-font-size: 14px;
|
|
66
|
+
--eva-audio-track-selector-label-color: rgba(255, 255, 255, 0.95);
|
|
67
|
+
--eva-audio-track-selector-dropdown-arrow-size: 20px;
|
|
68
|
+
--eva-audio-track-selector-dropdown-arrow-color: rgba(255, 255, 255, 0.6);
|
|
69
|
+
--eva-audio-track-selector-hover-background: rgba(255, 255, 255, 0.1);
|
|
70
|
+
--eva-audio-track-selector-opened-background: rgba(255, 255, 255, 0.15);
|
|
71
|
+
--eva-audio-track-selector-dropdown-content-background: rgba(28, 28, 30, 0.95);
|
|
72
|
+
--eva-audio-track-selector-dropdown-content-box-shadow:
|
|
73
|
+
0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
|
|
74
|
+
--eva-audio-track-selector-dropdown-content-header-font-size: 14px;
|
|
75
|
+
--eva-audio-track-selector-dropdown-content-header-font-color: rgba(255, 255, 255, 0.5);
|
|
76
|
+
--eva-audio-track-selector-dropdown-content-header-bottom-border: 1px solid rgba(255, 255, 255, 0.1);
|
|
77
|
+
--eva-audio-track-selector-dropdown-content-option-background-hover: rgba(255, 255, 255, 0.1);
|
|
78
|
+
--eva-audio-track-selector-dropdown-content-option-icon-active: rgba(59, 130, 246, 0.3);
|
|
79
|
+
--eva-audio-track-selector-dropdown-content-option-font-size: 14px;
|
|
80
|
+
--eva-audio-track-selector-dropdown-content-option-font-color: rgba(255, 255, 255, 0.95);
|
|
81
|
+
--eva-audio-track-selector-dropdown-content-option-checkmark-size: 16px;
|
|
82
|
+
--eva-audio-track-selector-dropdown-content-option-checkmark-color: rgb(59, 130, 246);
|
|
83
|
+
|
|
65
84
|
--eva-quality-selector-label-font-size: 14px;
|
|
66
85
|
--eva-quality-selector-label-color: rgba(255, 255, 255, 0.95);
|
|
67
86
|
--eva-quality-selector-dropdown-arrow-size: 20px;
|
|
@@ -126,6 +145,8 @@
|
|
|
126
145
|
--eva-context-menu-divider-margin: 4px 0;
|
|
127
146
|
--eva-context-menu-divider-color: rgba(255, 255, 255, 0.12);
|
|
128
147
|
|
|
148
|
+
--eva-ended-overlay-background: rgba(0, 0, 0, 0.85);
|
|
149
|
+
|
|
129
150
|
--eva-error-overlay-background: rgba(0, 0, 0, 0.85);
|
|
130
151
|
--eva-error-overlay-gap: 16px;
|
|
131
152
|
--eva-error-overlay-padding: 24px;
|
|
@@ -211,6 +232,20 @@
|
|
|
211
232
|
--eva-remote-playback-button-width: 50px;
|
|
212
233
|
--eva-remote-playback-connected-color: rgb(59, 130, 246);
|
|
213
234
|
|
|
235
|
+
--eva-tooltip-background: rgba(20, 20, 20, 0.95);
|
|
236
|
+
--eva-tooltip-color: rgba(255, 255, 255, 0.95);
|
|
237
|
+
--eva-tooltip-font-size: 12px;
|
|
238
|
+
--eva-tooltip-padding: 5px 10px;
|
|
239
|
+
--eva-tooltip-border-radius: 4px;
|
|
240
|
+
--eva-tooltip-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
|
|
241
|
+
--eva-tooltip-gap: 6px;
|
|
242
|
+
--eva-tooltip-kbd-background: rgba(255, 255, 255, 0.15);
|
|
243
|
+
--eva-tooltip-kbd-border: 1px solid rgba(255, 255, 255, 0.25);
|
|
244
|
+
--eva-tooltip-kbd-border-radius: 3px;
|
|
245
|
+
--eva-tooltip-kbd-padding: 1px 5px;
|
|
246
|
+
--eva-tooltip-kbd-font-size: 11px;
|
|
247
|
+
--eva-tooltip-kbd-min-width: 18px;
|
|
248
|
+
|
|
214
249
|
--eva-shortcuts-overlay-background: rgba(0, 0, 0, 0.92);
|
|
215
250
|
--eva-shortcuts-overlay-border-radius: 12px;
|
|
216
251
|
--eva-shortcuts-overlay-box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
|
|
@@ -233,3 +268,39 @@
|
|
|
233
268
|
--eva-shortcuts-overlay-key-font-size: 12px;
|
|
234
269
|
--eva-shortcuts-overlay-key-color: rgba(255, 255, 255, 0.9);
|
|
235
270
|
}
|
|
271
|
+
|
|
272
|
+
.eva-tooltip-popup {
|
|
273
|
+
position: fixed;
|
|
274
|
+
z-index: 9999;
|
|
275
|
+
background: var(--eva-tooltip-background);
|
|
276
|
+
color: var(--eva-tooltip-color);
|
|
277
|
+
font-size: var(--eva-tooltip-font-size);
|
|
278
|
+
font-family: var(--eva-font-family, Arial);
|
|
279
|
+
padding: var(--eva-tooltip-padding);
|
|
280
|
+
border-radius: var(--eva-tooltip-border-radius);
|
|
281
|
+
box-shadow: var(--eva-tooltip-box-shadow);
|
|
282
|
+
white-space: nowrap;
|
|
283
|
+
pointer-events: none;
|
|
284
|
+
display: flex;
|
|
285
|
+
align-items: center;
|
|
286
|
+
gap: var(--eva-tooltip-gap);
|
|
287
|
+
opacity: 0;
|
|
288
|
+
transition: opacity var(--eva-transition-duration, 0.15s) ease;
|
|
289
|
+
|
|
290
|
+
&.eva-tooltip-visible {
|
|
291
|
+
opacity: 1;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.eva-tooltip-kbd {
|
|
296
|
+
display: inline-flex;
|
|
297
|
+
align-items: center;
|
|
298
|
+
justify-content: center;
|
|
299
|
+
background: var(--eva-tooltip-kbd-background);
|
|
300
|
+
border: var(--eva-tooltip-kbd-border);
|
|
301
|
+
border-radius: var(--eva-tooltip-kbd-border-radius);
|
|
302
|
+
padding: var(--eva-tooltip-kbd-padding);
|
|
303
|
+
font-family: inherit;
|
|
304
|
+
font-size: var(--eva-tooltip-kbd-font-size);
|
|
305
|
+
min-width: var(--eva-tooltip-kbd-min-width);
|
|
306
|
+
}
|