react-native-vlc-media-player icon indicating copy to clipboard operation
react-native-vlc-media-player copied to clipboard

loading end event

Open shadow-engie opened this issue 5 years ago • 4 comments

Hi there

Could you please add onLoadEnd event to the library? It would be preally awesome ^_^

shadow-engie avatar Apr 28 '20 07:04 shadow-engie

Dear @shadow-engie, in Android you can use onBuffering callback and get the bufferRate from the passed object:

<VLCPlayer
  onBuffering={({ bufferRate }) => { console.log(bufferRate)}}
/>

When it reaches the 100 then you can be sure it is the end of loading.

But still on iOS for onBuffering and onPlaying, it passes just a {target: number}. And I don't know why so I left an issue and wait for @razorRun answer.

amerllica avatar Jun 15 '20 11:06 amerllica

Any news?!

linhtc avatar Oct 20 '20 13:10 linhtc

Unfortunately, @razorRun does not attend to his contributors.

amerllica avatar Oct 21 '20 07:10 amerllica

Same issue here

geroale avatar May 24 '21 16:05 geroale