Skip to content

fix: also pass the loop video option on the native player#1614

Open
loge5 wants to merge 1 commit into
pulsejet:masterfrom
loge5:bugfix/loop-video-native
Open

fix: also pass the loop video option on the native player#1614
loge5 wants to merge 1 commit into
pulsejet:masterfrom
loge5:bugfix/loop-video-native

Conversation

@loge5
Copy link
Copy Markdown
Contributor

@loge5 loge5 commented Jan 29, 2026

In #1578 I added the option "loop video".
Unfortunately I didn't realize that the Android app is using a native player.

So with this fix, also the native player is using the "loop video" option.

Implementation detail:
Because the app and the server may not be updated by the user at the same time, we have to provide backwards compatibility. I had to create a second playVideo method: playVideo2. I tested it with two signatures of playVideo in the android part, but an older App would not been able to play a video from a newer server.

I tested all server and app combinations with different versions (with this fix vs. without).

Signed-off-by: Rolf Loges <loges.rolf@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant