Skip to content Skip to sidebar Skip to footer

How To Use Events In Nativescript Exoplayer?

Link to player: https://github.com/nstudio/nativescript-videoplayer I am using exoplayer in my nativescript project. I want to call a function when the player is ready to play the

Solution 1:

In NativeScript Angular you use: <exoplayer #videoplayer src="https://{{nsrl}}" (playbackReady)="playbackReadyEvent()" (finished)="finished()" class="video-player" autoplay="true" height="320"></exoplayer>


Post a Comment for "How To Use Events In Nativescript Exoplayer?"