mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-19 12:15:27 -04:00
add .github/copilot-instructions.md file
https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
This commit is contained in:
@@ -15,16 +15,18 @@ const Video = ({
|
||||
{...(typeof src === "string" ? { src } : {})}
|
||||
{...(autoPlay
|
||||
? {
|
||||
autoPlay: true,
|
||||
preload: "auto",
|
||||
controls: false,
|
||||
autoPlay: true,
|
||||
playsInline: true, // safari autoplay workaround
|
||||
loop: true,
|
||||
muted: true,
|
||||
}
|
||||
: {
|
||||
autoPlay: false,
|
||||
preload: "metadata",
|
||||
controls: true,
|
||||
playsInline: true,
|
||||
})}
|
||||
crossOrigin="anonymous"
|
||||
className={cn("mx-auto block h-auto max-h-[500px] w-full", className)}
|
||||
|
||||
Reference in New Issue
Block a user