@wyxos/vibe 5.8.1 → 5.8.2
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 +0 -5
- package/lib/components/useMediaLoading.d.ts +1 -1
- package/lib/core/mediaCardOptions.d.ts +0 -1
- package/lib/index.cjs +1 -1
- package/lib/index.js +305 -347
- package/package.json +1 -1
- package/lib/components/useFeedReplacementPreload.d.ts +0 -11
- package/lib/core/feedReplacementPreload.d.ts +0 -3
package/README.md
CHANGED
|
@@ -99,7 +99,6 @@ const vibe = createVibe({
|
|
|
99
99
|
height: 48,
|
|
100
100
|
},
|
|
101
101
|
mediaCard: {
|
|
102
|
-
feedPreload: 'replacement',
|
|
103
102
|
videoMuted: true,
|
|
104
103
|
},
|
|
105
104
|
})
|
|
@@ -122,10 +121,6 @@ active again. Set `mediaCard.videoMuted` to explicitly override the initial
|
|
|
122
121
|
state in either layout. Users can still change mute and volume through the
|
|
123
122
|
timed-media controls.
|
|
124
123
|
|
|
125
|
-
Set `mediaCard.feedPreload` to `replacement` to warm the exact preview source
|
|
126
|
-
that a grouped masonry card will show after its current media item is removed.
|
|
127
|
-
The default is `none`, so consumers opt in to the additional request.
|
|
128
|
-
|
|
129
124
|
Applications that need audio continuity can pass `initialReelAudioState` with
|
|
130
125
|
`volume`, `muted`, and `lastAudibleVolume`, then persist user changes through
|
|
131
126
|
`onReelAudioStateChange`. Every reel card in that Vibe instance shares the
|
|
@@ -11,6 +11,6 @@ interface MediaLoadingOptions {
|
|
|
11
11
|
export declare function useMediaLoading(options: MediaLoadingOptions): {
|
|
12
12
|
imageLoading: import("vue").ComputedRef<"lazy" | "eager">;
|
|
13
13
|
mediaIsTimed: import("vue").ComputedRef<boolean>;
|
|
14
|
-
videoPreload: import("vue").ComputedRef<"
|
|
14
|
+
videoPreload: import("vue").ComputedRef<"metadata" | "auto" | "none">;
|
|
15
15
|
};
|
|
16
16
|
export {};
|