Closed charlestbell closed 3 months ago
"@api.video/react-native-player": "^1.0.1",
Using the react native package. Trying to play private videos = doesn't work.
Oddly, the React player supports this. It accepts an object called video
<ApiVideoPlayer video={{id: "vi5fv44Hol1jFrCovyktAJS9", token: "myToken"}} />
https://github.com/apivideo/api.video-react-player
But the React Native player only takes an id token
<ApiVideoPlayer videoId="myVideoId" />
I've tried passing a video object with a token to it, but nothing happens.
Yes
Try to play a private video in React Native.
It plays
No video displayed.
No response
This was later patched
Version
"@api.video/react-native-player": "^1.0.1",
Environment that reproduces the issue
Using the react native package. Trying to play private videos = doesn't work.
Oddly, the React player supports this. It accepts an object called video
https://github.com/apivideo/api.video-react-player
But the React Native player only takes an id token
I've tried passing a video object with a token to it, but nothing happens.
Is it reproducible in the example application?
Yes
Reproduction steps
Try to play a private video in React Native.
Expected result
It plays
Actual result
No video displayed.
Additional context
No response
Relevant logs output
No response