Skip to content

Commit

Permalink
docs: fix default kit video example
Browse files Browse the repository at this point in the history
  • Loading branch information
bbohlender committed Sep 1, 2024
1 parent d243372 commit 1db12ee
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/default-kit/video.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ import { Defaults, DialogAnchor } from "@react-three/uikit-default";
import { Video } from "@react-three/uikit-default"
function VideoDemo() {
return <Video src="example.mp4" controls width={500} />
return (
<Video
crossOrigin="anonymous"
src="https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
controls
width={500}
/>
)
}
export default function App() {
Expand Down

0 comments on commit 1db12ee

Please sign in to comment.