Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[exoplayer] playbackReady event is not working in v6.0.1 #103

Open
7ammer opened this issue Sep 26, 2022 · 2 comments
Open

[exoplayer] playbackReady event is not working in v6.0.1 #103

7ammer opened this issue Sep 26, 2022 · 2 comments

Comments

@7ammer
Copy link

7ammer commented Sep 26, 2022

The playbackReady event is not working in v6.0.1 with Vue. I believe the event was working in version 5.0.7

@7ammer
Copy link
Author

7ammer commented Sep 26, 2022

This looks relevant: #88 (comment)

@Tronix117
Copy link

Using nativescript-exoplayer in a prod app with custom controls, I just updated to v6+ and I can confirm events are not firing immediately anymore.

With autoplay=true, everything is working, playbackReady is fired. Otherwise without this autoplay=true, it's a black screen, and no events are fired.

Before I already used an hack, on Android video was black, so after playbackReady event, I just seekToTime(50) to just goes forward some frame and have a preview. Otherwise now this hack is not possible anymore.

My new hack is: always enable autoplay=true on android, and immediately after playbackReady event, to pause the video.

Not ideal though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants