Skip to content

Commit

Permalink
Disable Playback Speed Option
Browse files Browse the repository at this point in the history
  • Loading branch information
jayantkageri authored Jun 6, 2022
1 parent 2cf8757 commit 1c4dd9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/intro.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export default function Video(props) {
<video
className="w-full h-full rounded"
controls
// Disable Playback Speed Option
controlsList={"noplaybackrate"}
onPlay={() => {
// Send data to Google Analytics.
props.addEvent("video", "jayantkageri.in - video played");
Expand Down

0 comments on commit 1c4dd9d

Please sign in to comment.