NathanaelA / nativescript-exoplayer

Please use: https://github.com/nstudio/nativescript-plugins/
27 stars 36 forks source link

ios playbackReady won't fire #34

Closed peppeg85 closed 4 years ago

peppeg85 commented 5 years ago

hello, thanks for the plugin. on ios i've this issue: the playbackReady event won't fire, anyone else has this behaviour?how can i fix it?

thank you again

NathanaelA commented 5 years ago

Did you try the demo app; did it work or not?

noordw commented 4 years ago

@peppeg85 Did you find what was causing this?.

peppeg85 commented 4 years ago

sorry but....i don't remember if and how i fixed, i have this code:

  <exoplayer:Video id="videoID"
                                     controls="false"
                                     loop="false" autoplay="false"
                                     playbackReady="videoReady"
                                     tap="controls" fill="{{ videoFill }}"
                    />

and in js:

 function videoReady() {
// your stuff
}

exports.videoReady = videoReady;

i hope it works