Skip to content

Commit

Permalink
fix(nx-dev): add playsInline to video loop component
Browse files Browse the repository at this point in the history
(cherry picked from commit aceebca)
  • Loading branch information
philipjfulcher authored and FrozenPandaz committed Jan 7, 2025
1 parent 707b732 commit 615fd17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nx-dev/ui-markdoc/src/lib/tags/video-loop.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function VideoLoop({
}, []);

return (
<video ref={videoRef} autoPlay muted loop>
<video ref={videoRef} autoPlay muted loop playsInline>
<source src={src} type="video/mp4" />
<div className="p-4 text-center">
<p className="pb-3 font-bold">
Expand Down

0 comments on commit 615fd17

Please sign in to comment.