diff --git a/apps/mobile/src/components/native/webview/native-webview.android.tsx b/apps/mobile/src/components/native/webview/native-webview.android.tsx index e0aaa3c03..6424957a9 100644 --- a/apps/mobile/src/components/native/webview/native-webview.android.tsx +++ b/apps/mobile/src/components/native/webview/native-webview.android.tsx @@ -50,8 +50,9 @@ export const NativeWebView: React.ComponentType< sharedCookiesEnabled originWhitelist={["*"]} allowUniversalAccessFromFileURLs - startInLoadingState + // startInLoadingState allowsBackForwardNavigationGestures + allowsFullscreenVideo injectedJavaScriptBeforeContentLoaded={atStart} onNavigationStateChange={onNavigationStateChange} onLoadEnd={useCallback(() => { diff --git a/apps/mobile/web-app/html-renderer/src/parser.tsx b/apps/mobile/web-app/html-renderer/src/parser.tsx index 423bb4b84..247f0d88a 100644 --- a/apps/mobile/web-app/html-renderer/src/parser.tsx +++ b/apps/mobile/web-app/html-renderer/src/parser.tsx @@ -148,6 +148,11 @@ export const parseHtml = ( className: tw`w-full my-0`, }), ), + video: ({ node, ...props }) => + createElement("video", { + ...props, + controls: true, + }), }, }) }