Merge pull request #4105 from ByteHamster/video-open-correct-player
Fixed opening video player when starting video
This commit is contained in:
commit
98cc288e1e
|
@ -46,7 +46,7 @@ public class PlayActionButton extends ItemActionButton {
|
|||
.start();
|
||||
|
||||
if (media.getMediaType() == MediaType.VIDEO) {
|
||||
context.startActivity(PlaybackService.getPlayerActivityIntent(context));
|
||||
context.startActivity(PlaybackService.getPlayerActivityIntent(context, media));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@ public class StreamActionButton extends ItemActionButton {
|
|||
.start();
|
||||
|
||||
if (media.getMediaType() == MediaType.VIDEO) {
|
||||
context.startActivity(PlaybackService.getPlayerActivityIntent(context));
|
||||
context.startActivity(PlaybackService.getPlayerActivityIntent(context, media));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue