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

[Bug] @ts-ignore in CldVideoPlayer.tsx #426

Open
colbyfayock opened this issue Jan 25, 2024 · 0 comments
Open

[Bug] @ts-ignore in CldVideoPlayer.tsx #426

colbyfayock opened this issue Jan 25, 2024 · 0 comments

Comments

@colbyfayock
Copy link
Collaborator

Bug Report

Describe the bug

A @ts-ignore is currently in place in the CldVideoPlayer component which is utilizing a videojs method to dispose of the player

https://github.com/cloudinary-community/next-cloudinary/blob/main/next-cloudinary/src/components/CldVideoPlayer/CldVideoPlayer.tsx#L227-L228

Goal would be to address whatever type issues are preventing this line from being removed.

There is a dispose method on the player itself but it was causing issues apparently. so the answer may be adding the type somewhere, which now exist inside of https://github.com/colbyfayock/cloudinary-util/blob/main/packages/types/src/types/cloudinary-video-player.d.ts

some context: #317 (comment)

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

1 participant