Skip to content

Commit

Permalink
fix: byte overplay (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
sasicodes authored Feb 24, 2023
1 parent 90c4a84 commit ffd62dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/components/Bytes/ByteVideo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ const ByteVideo: FC<Props> = ({
intersectionCallback(data[0].target.id)
const nextUrl = `${location.origin}/bytes/${video?.id}`
history.replaceState({ path: nextUrl }, '', nextUrl)
playVideo()
}
})

Expand All @@ -64,6 +63,7 @@ const ByteVideo: FC<Props> = ({
if (!videoRef.current) {
return
}
videoRef.current.volume = 0
videoRef.current?.pause()
videoRef.current.autoplay = false
}
Expand Down

2 comments on commit ffd62dd

@vercel
Copy link

@vercel vercel bot commented on ffd62dd Feb 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

web – ./apps/web

web-git-main-lenstube.vercel.app
web-lenstube.vercel.app
lenstube.xyz
www.lenstube.xyz

@vercel
Copy link

@vercel vercel bot commented on ffd62dd Feb 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

embed – ./apps/embed

embed-lenstube.vercel.app
embed-git-main-lenstube.vercel.app
embed.lenstube.xyz

Please sign in to comment.