Skip to content

Commit 85a83dc

Browse files
committed
fix: add playsinline attr to video
1 parent a1a80af commit 85a83dc

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

content/docs/index.mdx

+7-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ has popularized the idea of shipping components as plain code that can be copied
1010

1111
This has led to a new wave of developers sharing their own components as plain code that can be copied and pasted into your own projects.
1212

13-
rCopy wants to extend this idea to all the React ecosystem such as hooks, blocks, icons and more.
13+
rCopy wants to extend this idea to all the React ecosystem such as hooks, blocks, icons and more. In the future, we want even to extend to complete features (front-end and api)
1414

1515
> "Dependency Minimalism: Why go through all of this work to delete dependencies? After having a blog for 10 years, I've gained a new appreciation for keeping things simple. Now, I'm not going full minimalist here. I still want nice things. But I'm taking more opportunities to simplify and keep more code managed in the repo."
1616
>
@@ -27,13 +27,18 @@ rCopy is a collection of components, hooks, blocks, icons and more that you can
2727
Whilst most react libraries are packages, rCopy is not. Instead our elements are available in plain code and can be copied from our website. This allows full customization and reflects the new wave of shipping components.
2828
In other words, sometimes copy and paste can be better than using the wrong abstraction obtained from a react library.
2929

30+
**What’s the difference between rCopy and shadcn?**
31+
32+
For core components, there's a minimal difference ([changelog](http://rcopy/docs/changelog#april-2024---product-launch)). However, rCopy extends the idea of copy and paste to all the React ecosystem such as hooks, blocks, icons and more.
33+
3034
**What are the advantages of copy and paste?**
3135

3236
- **Customization**: You can easily customize the code to fit your needs.
3337
- **Dependency minimalism**: You don’t need to install any dependencies.
3438
- **Ownership**: You own the code and can modify it as you wish.
3539

3640
## Credits
41+
3742
- [shadcn/ui](https://ui.shadcn.com) - for the core components.
3843
- [radix-ui](https://ui.shadcn.com) - for the primitives.
39-
- [vercel](https://ui.shadcn.com) - where I host all my projects.
44+
- [vercel](https://ui.shadcn.com) - where I host all my projects.

src/components/docs/doc-card.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ const Thumbnail = ({
100100
muted
101101
loop
102102
autoPlay
103+
playsInline
103104
preload="none"
104105
className="aspect-video object-cover opacity-90 duration-150 group-hover:opacity-100"
105106
/>

0 commit comments

Comments
 (0)