@mottosports/motto-video-player 1.0.1-rc.16 → 1.0.1-rc.17
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/dist/index.d.mts +36 -1
- package/dist/index.d.ts +36 -1
- package/dist/index.js +2667 -583
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2447 -366
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -94,6 +94,19 @@ interface SeekbarConfig {
|
|
|
94
94
|
*/
|
|
95
95
|
played?: string;
|
|
96
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* Icon size configuration
|
|
99
|
+
*/
|
|
100
|
+
interface IconSizes {
|
|
101
|
+
/**
|
|
102
|
+
* Size for skip back/forward buttons (in pixels)
|
|
103
|
+
*/
|
|
104
|
+
skipButtons?: number;
|
|
105
|
+
/**
|
|
106
|
+
* Size for the big play button (in pixels)
|
|
107
|
+
*/
|
|
108
|
+
bigPlayButton?: number;
|
|
109
|
+
}
|
|
97
110
|
interface PlayerProps extends Omit<HTMLAttributes<HTMLVideoElement>, 'src' | 'onError'> {
|
|
98
111
|
/**
|
|
99
112
|
* The source URL of the video (DASH, HLS, or regular MP4)
|
|
@@ -221,6 +234,10 @@ interface PlayerProps extends Omit<HTMLAttributes<HTMLVideoElement>, 'src' | 'on
|
|
|
221
234
|
* Seekbar color configuration
|
|
222
235
|
*/
|
|
223
236
|
seekbarConfig?: SeekbarConfig;
|
|
237
|
+
/**
|
|
238
|
+
* Icon size configuration
|
|
239
|
+
*/
|
|
240
|
+
iconSizes?: IconSizes;
|
|
224
241
|
/**
|
|
225
242
|
* Event callbacks
|
|
226
243
|
*/
|
|
@@ -486,4 +503,22 @@ interface QueryProviderProps {
|
|
|
486
503
|
}
|
|
487
504
|
declare const QueryProvider: React.FC<QueryProviderProps>;
|
|
488
505
|
|
|
489
|
-
|
|
506
|
+
interface SkipBackIconProps {
|
|
507
|
+
size?: number;
|
|
508
|
+
className?: string;
|
|
509
|
+
}
|
|
510
|
+
declare const SkipBackIcon: React.FC<SkipBackIconProps>;
|
|
511
|
+
|
|
512
|
+
interface SkipForwardIconProps {
|
|
513
|
+
size?: number;
|
|
514
|
+
className?: string;
|
|
515
|
+
}
|
|
516
|
+
declare const SkipForwardIcon: React.FC<SkipForwardIconProps>;
|
|
517
|
+
|
|
518
|
+
interface BigPlayIconProps {
|
|
519
|
+
size?: number;
|
|
520
|
+
className?: string;
|
|
521
|
+
}
|
|
522
|
+
declare const BigPlayIcon: React.FC<BigPlayIconProps>;
|
|
523
|
+
|
|
524
|
+
export { BigPlayIcon, CreativeWork, type CreativeWorkData, type CreativeWorkProps, CreativeWorksSortDirection, Event, type EventData, type EventProps, EventsSortDirection, type IconSizes, Player, type PlayerEvents, type PlayerProps, QueryProvider, SkipBackIcon, SkipForwardIcon, Video, type VideoData, type VideoListItem, type VideoProps, queryClient };
|
package/dist/index.d.ts
CHANGED
|
@@ -94,6 +94,19 @@ interface SeekbarConfig {
|
|
|
94
94
|
*/
|
|
95
95
|
played?: string;
|
|
96
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* Icon size configuration
|
|
99
|
+
*/
|
|
100
|
+
interface IconSizes {
|
|
101
|
+
/**
|
|
102
|
+
* Size for skip back/forward buttons (in pixels)
|
|
103
|
+
*/
|
|
104
|
+
skipButtons?: number;
|
|
105
|
+
/**
|
|
106
|
+
* Size for the big play button (in pixels)
|
|
107
|
+
*/
|
|
108
|
+
bigPlayButton?: number;
|
|
109
|
+
}
|
|
97
110
|
interface PlayerProps extends Omit<HTMLAttributes<HTMLVideoElement>, 'src' | 'onError'> {
|
|
98
111
|
/**
|
|
99
112
|
* The source URL of the video (DASH, HLS, or regular MP4)
|
|
@@ -221,6 +234,10 @@ interface PlayerProps extends Omit<HTMLAttributes<HTMLVideoElement>, 'src' | 'on
|
|
|
221
234
|
* Seekbar color configuration
|
|
222
235
|
*/
|
|
223
236
|
seekbarConfig?: SeekbarConfig;
|
|
237
|
+
/**
|
|
238
|
+
* Icon size configuration
|
|
239
|
+
*/
|
|
240
|
+
iconSizes?: IconSizes;
|
|
224
241
|
/**
|
|
225
242
|
* Event callbacks
|
|
226
243
|
*/
|
|
@@ -486,4 +503,22 @@ interface QueryProviderProps {
|
|
|
486
503
|
}
|
|
487
504
|
declare const QueryProvider: React.FC<QueryProviderProps>;
|
|
488
505
|
|
|
489
|
-
|
|
506
|
+
interface SkipBackIconProps {
|
|
507
|
+
size?: number;
|
|
508
|
+
className?: string;
|
|
509
|
+
}
|
|
510
|
+
declare const SkipBackIcon: React.FC<SkipBackIconProps>;
|
|
511
|
+
|
|
512
|
+
interface SkipForwardIconProps {
|
|
513
|
+
size?: number;
|
|
514
|
+
className?: string;
|
|
515
|
+
}
|
|
516
|
+
declare const SkipForwardIcon: React.FC<SkipForwardIconProps>;
|
|
517
|
+
|
|
518
|
+
interface BigPlayIconProps {
|
|
519
|
+
size?: number;
|
|
520
|
+
className?: string;
|
|
521
|
+
}
|
|
522
|
+
declare const BigPlayIcon: React.FC<BigPlayIconProps>;
|
|
523
|
+
|
|
524
|
+
export { BigPlayIcon, CreativeWork, type CreativeWorkData, type CreativeWorkProps, CreativeWorksSortDirection, Event, type EventData, type EventProps, EventsSortDirection, type IconSizes, Player, type PlayerEvents, type PlayerProps, QueryProvider, SkipBackIcon, SkipForwardIcon, Video, type VideoData, type VideoListItem, type VideoProps, queryClient };
|