Skip to content

Commit

Permalink
Merge pull request #825 from jamsoft/fix/814-NSInternalInconsistencyE…
Browse files Browse the repository at this point in the history
…xception

Fix/814 ns internal inconsistency exception
  • Loading branch information
martijn00 authored Jul 13, 2021
2 parents f2fd5d4 + a9010f8 commit cbb1b0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MediaManager/Platforms/Apple/Player/AppleMediaPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ protected virtual async void OnPlayerBoundaryReached()
public virtual async Task Play(AVPlayerItem playerItem)
{
Player.ActionAtItemEnd = AVPlayerActionAtItemEnd.None;
Player.ReplaceCurrentItemWithPlayerItem(playerItem);
Player.RemoveAllItems();
Player.InsertItem(playerItem, null);
await Play();
}

Expand Down

0 comments on commit cbb1b0a

Please sign in to comment.