mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
fix(spf): implement preload IDL attribute on SpfMedia (#1069)
This commit is contained in:
@@ -6,8 +6,6 @@ import { attachMediaElement } from '../../utils/attach-media-element';
|
||||
import { mediaProps } from '../../utils/media-props';
|
||||
import { useComposedRefs } from '../../utils/use-composed-refs';
|
||||
|
||||
// TODO: mediaProps uses media.preload which SimpleHlsMedia does not yet expose.
|
||||
// Add preload getter/setter to SimpleHlsMedia as a follow-up.
|
||||
export type SimpleHlsVideoProps = PropsWithChildren<VideoHTMLAttributes<HTMLVideoElement>>;
|
||||
|
||||
export const SimpleHlsVideo = forwardRef<HTMLVideoElement, SimpleHlsVideoProps>(({ children, ...props }, ref) => {
|
||||
|
||||
Reference in New Issue
Block a user