feat(html): setup player api (#374)

This commit is contained in:
rahim
2026-02-02 21:11:44 +11:00
committed by GitHub
parent a1d0383d41
commit a419f5ef19
40 changed files with 678 additions and 1078 deletions
+3 -23
View File
@@ -1,29 +1,9 @@
'use client';
// Re-exports from core/dom
export {
type AnyPlayerFeature,
type BufferState,
definePlayerFeature,
type FeatureAvailability,
features,
type Media,
type MediaContainer,
type PlaybackState,
type PlayerFeature,
type PlayerStore,
type PlayerTarget,
type SourceState,
selectBuffer,
selectPlayback,
selectSource,
selectTime,
selectVolume,
type TimeState,
type VolumeState,
} from '@videojs/core/dom';
// Core
export * from '@videojs/core/dom';
// Re-exports from store (utilities)
// Store
export type { Comparator, Selector } from '@videojs/store';
export { createSelector, shallowEqual } from '@videojs/store';
export { useSelector, useStore } from '@videojs/store/react';