diff --git a/ExoPlayer/ExoPlayer.csproj b/ExoPlayer/ExoPlayer.csproj index f958190b..e0f9c2c4 100644 --- a/ExoPlayer/ExoPlayer.csproj +++ b/ExoPlayer/ExoPlayer.csproj @@ -53,6 +53,6 @@ - + \ No newline at end of file diff --git a/ExoPlayer/Jars/exoplayer-r1.5.6.aar b/ExoPlayer/Jars/exoplayer-r1.5.6.aar deleted file mode 100644 index 8471e914..00000000 Binary files a/ExoPlayer/Jars/exoplayer-r1.5.6.aar and /dev/null differ diff --git a/ExoPlayer/Jars/exoplayer-r1.5.8.aar b/ExoPlayer/Jars/exoplayer-r1.5.8.aar new file mode 100644 index 00000000..75dfec9f Binary files /dev/null and b/ExoPlayer/Jars/exoplayer-r1.5.8.aar differ diff --git a/Samples/Official Demo/PlayerActivity.cs b/Samples/Official Demo/PlayerActivity.cs index 9a767e65..ecf51f90 100644 --- a/Samples/Official Demo/PlayerActivity.cs +++ b/Samples/Official Demo/PlayerActivity.cs @@ -727,6 +727,7 @@ public override void SetMediaPlayer(IMediaPlayerControl playerControl) public override bool DispatchKeyEvent(KeyEvent ev) { var keyCode = ev.KeyCode; + if (_playerControl.CanSeekForward() && (keyCode == Keycode.MediaFastForward || keyCode == Keycode.DpadRight)) if (_playerControl.CanSeekForward() && keyCode == Keycode.MediaFastForward) { if (ev.Action == KeyEventActions.Down) @@ -736,7 +737,7 @@ public override bool DispatchKeyEvent(KeyEvent ev) } return true; } - if (_playerControl.CanSeekBackward() && keyCode == Keycode.MediaRewind) + else if (_playerControl.CanSeekBackward() && (keyCode == Keycode.MediaRewind || keyCode == Keycode.DpadLeft)) { if (ev.Action == KeyEventActions.Down) { diff --git a/nuspec/Xam.Plugins.Android.ExoPlayer.nuspec b/nuspec/Xam.Plugins.Android.ExoPlayer.nuspec index 81e233ff..0e8fcba3 100644 --- a/nuspec/Xam.Plugins.Android.ExoPlayer.nuspec +++ b/nuspec/Xam.Plugins.Android.ExoPlayer.nuspec @@ -2,7 +2,7 @@ Xam.Plugins.Android.ExoPlayer - 1.5.6 + 1.5.8 ExoPlayer Control for Xamarin.Android Martijn van Dijk Martijn van Dijk @@ -15,5 +15,6 @@ + \ No newline at end of file