tweet_ui icon indicating copy to clipboard operation
tweet_ui copied to clipboard

BetterPlayer colliding with textToSpeech plugin as text is being read

Open mwolffalonso opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. I cannot use it embedded better_player in TweetView because of an AudioFocus issue i still cannot work out. It seems like BetterPlayer is colliding with the ongoing textToSpeech being read.

Thanks

Describe the solution you'd like Something to avoid giving focus to better_player before the video is tapped

Describe alternatives you've considered Some EmbeddedTweetView option to not autoload or autoplay Or an onTapVideo option to process video myself outside the tweet

Additional context useVideoPlayer: false could be an option but in iOS the video displays in full screen without possibility to dismiss and cannot return to my aplication.

mwolffalonso avatar Jun 15 '21 18:06 mwolffalonso

useVideoPlayer: false could be an option but in iOS the video displays in full screen without possibility to dismiss and cannot return to my aplication. I think this is a problem. Will try to fix it in the next release.

kawa89 avatar Jun 17 '21 06:06 kawa89

Hello @kawa89, related to:

"in iOS the video displays in full screen without possibility to dismiss and cannot return to my aplication."

I have added a Scaffold widget with an empty AppBar and with that I now see a navigation back button item to dismiss the fullscreen photo or video. I have forked the repository, updated the code and made a pull request to master. Is that ok? Or should i do something else? Sorry this is my first forking...

mwolffalonso avatar Jul 05 '21 14:07 mwolffalonso