apivideo / api.video-flutter-player

The official Flutter player for api.video
https://api.video
MIT License
24 stars 4 forks source link

[Bug]: Pause button doesn’t show and player crashes on tap of screen #47

Closed Haroldkess closed 7 months ago

Haroldkess commented 10 months ago

Version

apivideo_player: ^1.2.0

Environment that reproduces the issue

Device [iPhone 8 plus]

OS: [ 16.2]

Is it reproducible in the example application?

No

Reproduction steps

  1. Use a pageview.builder with pagesnapping set to true. (Swipe through video just like TikTok). Items is a list of vodId gotten from our backend .

  2. Return a new widget in the pageview.builder and parse the Vod Id to it let’s call the widget Videobox.

  3. Build your videoOptions on init of videobox and parse it to the ApiVideoPlayerController then return a new widget called VideoPlay and parse this ApiVideoPlayerController to a new widget called VideoPlay .

  4. Initialize the controller oninit of videoplay add listeners(video should play onReady ) . And dispose ApiVideoPlayerController.

  5. Then tap your screen

Expected result

Pause button should show and I should be able to interact with it

Actual result

Pause button doesn’t show and The player crashes on tap of screen (anywhere on screen) which in turn crashes the app.

Additional context

No response

Relevant logs output

No response

ThibaultBee commented 10 months ago

Hi,

As the way to reproduce the issue seems really specific, could you provide a sample code to test it?

Do you have the same issue with Android phones?

ThibaultBee commented 9 months ago

Hi,

Do you have more information? Otherwise, we will consider this issue stalled.

Haroldkess commented 9 months ago

You can close this

On Tue, 5 Dec 2023 at 11:58, Thibault Beyou @.***> wrote:

Hi,

Do you have more information? Otherwise, we will consider this issue stalled.

— Reply to this email directly, view it on GitHub https://github.com/apivideo/api.video-flutter-player/issues/47#issuecomment-1840515355, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJIYIKGE7ELSCEWQFIULICDYH345ZAVCNFSM6AAAAAA6TJDSK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBQGUYTKMZVGU . You are receiving this because you authored the thread.Message ID: @.***>

ThibaultBee commented 9 months ago

Do you mean it is fixed?

Haroldkess commented 9 months ago

I’m not able to provide a sample as I’m unavailable @work at the time. Until a week from today. Would humbly appreciate if you could exercise some patience until then

On Tue, 5 Dec 2023 at 14:59, Thibault Beyou @.***> wrote:

Do you mean it is fixed?

— Reply to this email directly, view it on GitHub https://github.com/apivideo/api.video-flutter-player/issues/47#issuecomment-1840848105, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJIYIKCJNPGPCNCXH3RQTG3YH4SFXAVCNFSM6AAAAAA6TJDSK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBQHA2DQMJQGU . You are receiving this because you authored the thread.Message ID: @.***>

ThibaultBee commented 9 months ago

Of course!

ThibaultBee commented 7 months ago

Stalled issue -> closing.

Please reopen it if you have new info.