Skip to content

Commit

Permalink
context menu right clicks disabled for header section
Browse files Browse the repository at this point in the history
  • Loading branch information
jwala-anirudh committed May 18, 2024
1 parent 5b0e460 commit e4f1e4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const Header = () => {
autoPlay
playsInline
preload='none'
onContextMenu={(e) => e.preventDefault()}
>
<source src={heroSectionVideo} type='video/mp4' />
</video>
Expand Down

0 comments on commit e4f1e4f

Please sign in to comment.