-
Notifications
You must be signed in to change notification settings - Fork 55
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
Building error #649
Comments
I also faced a problem that I couldn't find a ref.currnet.plyr values. I tried to correct the error, but I didn't know why it came to null in any way. After hours of searching, I checked that version was updated in my node_modules, and when I downgrade to the 3.0.8 version which I used before, it worked well without bugs. |
Sorry for the delay in response and sorry for the lack of documentation about this problem. The Project has been updated to become and functional component. This makes the code more react-ish duo to the new version of React. In new versions (3.0.2>=), the ref doesn't access the HTMLVideElement anymore, it accesses the wrapper around that component which comes with its own handlers type called (APITypes) I made a simple replication of your source code here At the same time, I guess, It is better to develop this new integration feature in a parallel route in some other versions such as next (alpha, beta, RC). @chintan9, Would it be possible to downgrade the project source code to the class base version (the stable version before 3.0.2 which matches the documentation) and publish a new version? Some Mentioned issue |
@amirHossein-Ebrahimi We can release 3.0.2-alpha.1 for class based function only. I will create documentation for v3.0.2 or lower version to use 3.0.2-alpha.1.
|
@chintan9 that seems more Futuristic decision 👍🏻. |
My functional component looks something like this:
But after updating to v3.2.0 I get the following error on build at the marked line above:
How can I fix this? I already tried several ways, but each time there is another issue...
The text was updated successfully, but these errors were encountered: