diff --git a/packages/griffith/src/components/Player.tsx b/packages/griffith/src/components/Player.tsx index 89389dc5..21b33694 100644 --- a/packages/griffith/src/components/Player.tsx +++ b/packages/griffith/src/components/Player.tsx @@ -86,6 +86,7 @@ type InnerPlayerProps = { hideCover?: boolean noWriteDocTitle?: boolean layerContent?: React.ReactNode + crossorigin?: string } // 仅供 Provider 使用的属性 @@ -143,6 +144,7 @@ const InnerPlayer: React.FC = ({ hideCover, noWriteDocTitle, layerContent, + crossorigin, }) => { const {emitEvent, subscribeAction} = useContext(InternalMessageContext) const {currentSrc, sources} = useContext(VideoSourceContext) @@ -634,6 +636,7 @@ const InnerPlayer: React.FC = ({