Skip to content

Commit

Permalink
[+] update commenting
Browse files Browse the repository at this point in the history
  • Loading branch information
Elyse Segebart committed Feb 24, 2023
1 parent 723fdef commit 8d2e5f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/VideoPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ export const VideoPlayer = (props: VideoPlayerProps) => {
onEnd: events.onEnd,
});

// I only have this working for rewind right now
const handleRewindPress = () => {
const x: NodeJS.Timeout = setTimeout(() => {
if (pressCount === 4) {
Expand Down Expand Up @@ -335,8 +336,8 @@ export const VideoPlayer = (props: VideoPlayerProps) => {
// };

// Somehow *continuously* skip ahead when count is 2, by 1% of video length
// When count is 3, repeatedly skip by 5% of the video length
// When count is 4, repeatedly skip by 10% the video length
// When count is 3, repeatedly skip by 3% of the video length
// When count is 4, repeatedly skip by 5% the video length

const setScanSpeed = (count: number) => {
//console.log('time calc', currentTime, count);
Expand Down

0 comments on commit 8d2e5f9

Please sign in to comment.