XamarinMediaManager: Repeat mode is not working.
🐛 Bug Report
Repeat mode should work if I am assigning the value.
//Constructor
public VideoView()
{
InitializeComponent();
events();
PlayHLSVideoAsync();
Repeat();
setSpeed();
setVolume();
}
private void events() {
CrossMediaManager.Current.PositionChanged += PositionChangedFunc;
CrossMediaManager.Current.StateChanged += StateChangedFunc;
}
private void Repeat() {
CrossMediaManager.Current.RepeatMode = RepeatMode.One;
//CrossMediaManager.Current.VolumeManager.Balance = 1;
}
Configuration
Version: 1.x
Platform:
- 🐒 Xamarin.Forms
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 18 (12 by maintainers)
Commits related to this issue
- Fixes #576 on Android - Merged #599 for iOS fix — committed to Baseflow/XamarinMediaManager by JuanuMusic 5 years ago
- Fixes #576 on Android - Merged #599 for iOS fix — committed to Baseflow/XamarinMediaManager by JuanuMusic 5 years ago
I created a PR, so bug on iOS will be fixed by the next release after my PR got approved
I aggree with you. iOS is a complete mess itself. I was not able to find any whole description about AVPlayerLooper and QueuePlayer, so I have a lot of questions about how to these tools on iOS. By the way I fixed the repeat and shuffle issues on iOS by handling all the stuff in AppleMediaPlayer class. I’ll make a code cleaning and after that may I ask you kindly to review my code and code changes?