Skip to content

Conversation

@danigm
Copy link
Contributor

@danigm danigm commented May 12, 2022

Fix #86

Copy link
Member

@rtibbles rtibbles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not tested, but a naming tweak and a question.

@@ -0,0 +1,87 @@
package org.endlessos;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
package org.endlessos;
package org.learningequality;

Could we rename the file as well?

src/main.py Outdated

PythonActivity = autoclass("org.kivy.android.PythonActivity")

FullScreen = autoclass("org.endlessos.FullScreen")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
FullScreen = autoclass("org.endlessos.FullScreen")
FullScreen = autoclass("org.learningequality.FullScreen")

}

// Configure the WebView to allow fullscreen based on:
// https://stackoverflow.com/questions/15768837/playing-html5-video-on-fullscreen-in-android-webview/56186877#56186877
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This suggests that we need updates to the AndroidManifest.xml as well, or does the P4A generated manifest already include the appropriate keys?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my tests the fullscreen was working correctly with just this java class, I didn't need to do anything else to have the fullscreen working for videos.

@danigm danigm force-pushed the add-fullscreen-support branch from 3189c09 to 8e34edf Compare May 20, 2022 06:42
@danigm danigm requested a review from rtibbles May 23, 2022 05:19
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.

Fullscreen not working for videos on Android

2 participants