Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VideoCard .tsx issue on uploading! #10

Open
Cyb3r7ron opened this issue Aug 5, 2022 · 1 comment
Open

VideoCard .tsx issue on uploading! #10

Cyb3r7ron opened this issue Aug 5, 2022 · 1 comment

Comments

@Cyb3r7ron
Copy link

const videoRef = useRef(null);
I used this attribute exactly as it said on the tutorial also I cross checked the code but the

const onVideoPress = () => {
if (playing) {
videoRef?.current?.pause();
setPlaying(false);
} else {
videoRef?.current?.play();
setPlaying(true);
}
};
still has red lines and says Property 'pause' does not exist on type 'HTMLVideoElement'.

And I cant upload my videos.helppppppppp pleaseeeeeee
Capssture
e

@thops1925
Copy link

Wondering what's the red line say

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants