Skip to content

Commit

Permalink
Merge branch 'update-docs'
Browse files Browse the repository at this point in the history
  • Loading branch information
isoteriksoftware committed Nov 11, 2023
2 parents 0da057d + 027f649 commit b93aab7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ const App = () => {
<Gallery>
<SolidColorItem color="#ff0000" />
<ImageItem src="https://picsum.photos/200/300" />
<VideoItem src="./video.mp4" />
<VideoItem
src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
crossOrigin="anonymous"
/>
</Gallery>
</GalleryScene>
);
Expand Down Expand Up @@ -208,7 +211,10 @@ The `GalleryItemMaterial` type is used to generate the three.js `Material` of a
<Gallery>
<SolidColorItem color="#ff0000" />
<ImageItem src="https://picsum.photos/200/300" />
<VideoItem src="https://www.w3schools.com/html/mov_bbb.mp4" />
<VideoItem
src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
crossOrigin="anonymous"
/>
</Gallery>
</GalleryScene>
```
Expand Down

0 comments on commit b93aab7

Please sign in to comment.