moneytoo / Player

▶ Simple and lightweight, yet polished and powerful Android video player based on ExoPlayer
https://play.google.com/store/apps/details?id=com.brouken.player
The Unlicense
1.44k stars 171 forks source link

Resume playback when receiving ACTION_VIEW #480

Closed emanuele-f closed 1 year ago

emanuele-f commented 1 year ago

When sending an ACTION_VIEW intent to Just Player, if the URL was already loaded in the player, it would set the old position in the timeline, which is nice, but it stays in a paused state. It would be nice to resume the playback automatically.

Also want to share this small receiver I've created to allow receiving the video URL via HTTP, which allows creating a chromecast-like experience: https://github.com/emanuele-f/Just-Player-Receiver. Please note that it require this HTTP-Shortcuts fix https://github.com/Waboodoo/HTTP-Shortcuts/pull/348 in order to work

moneytoo commented 1 year ago

If you are in control of that intent, then you can attach some MX Player API parameters (title, position or subtitle related) and it will auto play then.

emanuele-f commented 1 year ago

I will try thanks. It would be useful to document these. Closing issue for now