You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To remove the Android poster gray play button for video, replace the contents of /android/app/src/main/java/me/eggworld/primoprod/MainActivity.java with the following:
packageme.eggworld.primoprod;
importandroid.graphics.Bitmap;
importcom.getcapacitor.BridgeActivity;
importcom.getcapacitor.BridgeWebChromeClient;
publicclassMainActivityextendsBridgeActivity {
@OverridepublicvoidonStart() {
super.onStart();
// disables the ugly default video tag poster imagethis.getBridge().getWebView().setWebChromeClient(newBridgeWebChromeClient(bridge) {
@OverridepublicBitmapgetDefaultVideoPoster() {
returnBitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888);
}
});
}
}
To reach parity with the Electron version, the Android app should:
The text was updated successfully, but these errors were encountered: