@hyperstream/videoplayer 0.1.4 → 0.1.6

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 CHANGED
@@ -38,10 +38,29 @@ interface SimpleVideoPlayerProps {
38
38
  isMobile?: boolean;
39
39
  brandColor?: string;
40
40
  playlist?: PlaylistConfig;
41
+ url?: string;
42
+ primaryColor?: string;
43
+ thumbnail?: string;
44
+ title?: string;
45
+ artist?: string;
41
46
  }
42
- declare function SimpleVideoPlayer({ poster, watermark, hyperstreamUrl, autoplay, muted, controls, objectFit, containerWidth, isMobile, brandColor, playlist, }: SimpleVideoPlayerProps): react_jsx_runtime.JSX.Element;
43
- declare namespace SimpleVideoPlayer {
47
+ /**
48
+ * SimpleVideoPlayerWithContext - Phase 2 State Consolidation Wrapper
49
+ *
50
+ * This wrapper provides the VideoPlayerStateContext for future migration.
51
+ * Currently the context is provided but NOT consumed - existing reducers
52
+ * continue to manage all state.
53
+ *
54
+ * Migration Plan:
55
+ * 1. ✅ Add wrapper with context provider (this step)
56
+ * 2. 🔄 Gradually migrate reducers to context one at a time
57
+ * 3. 🔜 Remove old reducer code after full migration
58
+ *
59
+ * @production-critical - P1 state consolidation
60
+ */
61
+ declare function SimpleVideoPlayerWithContext(props: SimpleVideoPlayerProps): react_jsx_runtime.JSX.Element;
62
+ declare namespace SimpleVideoPlayerWithContext {
44
63
  var displayName: string;
45
64
  }
46
65
 
47
- export { SimpleVideoPlayer as HyperstreamVideoPlayer };
66
+ export { SimpleVideoPlayerWithContext as HyperstreamVideoPlayer };
package/dist/index.d.ts CHANGED
@@ -38,10 +38,29 @@ interface SimpleVideoPlayerProps {
38
38
  isMobile?: boolean;
39
39
  brandColor?: string;
40
40
  playlist?: PlaylistConfig;
41
+ url?: string;
42
+ primaryColor?: string;
43
+ thumbnail?: string;
44
+ title?: string;
45
+ artist?: string;
41
46
  }
42
- declare function SimpleVideoPlayer({ poster, watermark, hyperstreamUrl, autoplay, muted, controls, objectFit, containerWidth, isMobile, brandColor, playlist, }: SimpleVideoPlayerProps): react_jsx_runtime.JSX.Element;
43
- declare namespace SimpleVideoPlayer {
47
+ /**
48
+ * SimpleVideoPlayerWithContext - Phase 2 State Consolidation Wrapper
49
+ *
50
+ * This wrapper provides the VideoPlayerStateContext for future migration.
51
+ * Currently the context is provided but NOT consumed - existing reducers
52
+ * continue to manage all state.
53
+ *
54
+ * Migration Plan:
55
+ * 1. ✅ Add wrapper with context provider (this step)
56
+ * 2. 🔄 Gradually migrate reducers to context one at a time
57
+ * 3. 🔜 Remove old reducer code after full migration
58
+ *
59
+ * @production-critical - P1 state consolidation
60
+ */
61
+ declare function SimpleVideoPlayerWithContext(props: SimpleVideoPlayerProps): react_jsx_runtime.JSX.Element;
62
+ declare namespace SimpleVideoPlayerWithContext {
44
63
  var displayName: string;
45
64
  }
46
65
 
47
- export { SimpleVideoPlayer as HyperstreamVideoPlayer };
66
+ export { SimpleVideoPlayerWithContext as HyperstreamVideoPlayer };