mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(site): add util reference pipeline (#537)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
c11395ece1
commit
78112fbefd
@@ -9,11 +9,19 @@ import { sourceFeature } from './features/source';
|
||||
import { timeFeature } from './features/time';
|
||||
import { volumeFeature } from './features/volume';
|
||||
|
||||
/** Select the buffer state (buffered ranges, percent buffered). */
|
||||
export const selectBuffer = createSelector(bufferFeature);
|
||||
/** Select the controls state (controls visible, user-active). */
|
||||
export const selectControls = createSelector(controlsFeature);
|
||||
/** Select the fullscreen state (fullscreen active, availability). */
|
||||
export const selectFullscreen = createSelector(fullscreenFeature);
|
||||
/** Select the PiP state (picture-in-picture active, availability). */
|
||||
export const selectPiP = createSelector(pipFeature);
|
||||
/** Select the playback state (paused, ended, play, pause, toggle). */
|
||||
export const selectPlayback = createSelector(playbackFeature);
|
||||
/** Select the source state (src, type). */
|
||||
export const selectSource = createSelector(sourceFeature);
|
||||
/** Select the time state (currentTime, duration, seek). */
|
||||
export const selectTime = createSelector(timeFeature);
|
||||
/** Select the volume state (volume, muted, setVolume, setMuted). */
|
||||
export const selectVolume = createSelector(volumeFeature);
|
||||
|
||||
Reference in New Issue
Block a user