Baseflow / ExoPlayerXamarin

Xamarin bindings library for the Google ExoPlayer library

Home Page:https://baseflow.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

connecting a player to a playerview

ahmad913 opened this issue Β· comments

commented

πŸ”™ Regression

in the original docs of the exo player you can connect the player to ther player view using this line
playerView.setPlayer(player);
however in the xamarin version we used to do it like this
_playerView = new SimpleExoPlayerView(Context) { Player = _player };
and since the 2.11.3 update the Player property is gone
so neither of them is available right now...

Old (and correct) behavior

used to set the _playerView.Player = _player;
and it used to work.

Current behavior

now the _playerView.Player property is unavailable

Reproduction steps

Configuration

Version: 2.11.3

Platform:

  • πŸ“± iOS
  • πŸ€– Android
  • 🏁 WPF
  • 🌎 UWP
  • 🍎 MacOS
  • πŸ“Ί tvOS
  • πŸ’ Xamarin.Forms

Having the same problem , since playerView.Player is gone what should we use?

Fixed in new release