-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Difference accessing methods on compiled vs uncompiled player? #7416
Comments
Hello if i'm not wrong this function is not export to the public interface. that is why you can have it in debug and not in compile version |
This was added in #7074. Based on the details in that PR (externs defined for the return value, added to method list in a cast test), I think it was intended to be exported. Adding the |
I just push the PR ;) @fredrik-telia |
Excellent, thank you @Iragne ! |
Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
4.11.7
What browser and OS are you using?
Mac/Chrome
Please ask your question
Ok, maybe I'm misunderstanding something here, I'm trying to access the new
getFetchedPlaybackInfo()
-method, using version 4.11.7, but I can't.I decided to check the demo app, and using the compiled (release) version I get:
Uncaught TypeError: p.getFetchedPlaybackInfo is not a function
when running the following in the console:
However, using either the debug version or the uncompiled version, it works as expected:
tl;dr:
using the debug or uncompiled version of the demo player let's me create a new shaka player and access getFetchedPlaybackInfo(), but using the compiled version I cannot.
The text was updated successfully, but these errors were encountered: