apivideo / api.video-reactnative-player

React Native video player
https://api.video
MIT License
17 stars 2 forks source link

Can't find variable: player #10

Closed AnushavanGhulyan closed 2 years ago

AnushavanGhulyan commented 2 years ago

This happens only the first time after running the app.

Error evaluating injectedJavaScript: This is possibly due to an unsupported return type. Try adding true to the end of your injectedJavaScript string. Error Domain=WKErrorDomain Code=4 "A JavaScript exception occurred" UserInfo={WKJavaScriptExceptionLineNumber=1, WKJavaScriptExceptionMessage=ReferenceError: Can't find variable: player, WKJavaScriptExceptionColumnNumber=7, WKJavaScriptExceptionSourceURL=undefined, NSLocalizedDescription=A JavaScript exception occurred}

olivierapivideo commented 2 years ago

Hi

Thank you for reporting this problem. We are working on it. We will get back to you very soon.

olivierapivideo commented 2 years ago

Could you provide us the snippet of code that make this error happen?

olivierapivideo commented 2 years ago

I close this one for now. Don't hesitate to reopen if needed.