Skip to content

🎥 Make videos programmatically with React

default fullscreen webkit CSS for safari

Jonny Burger3a020d2e3fff
diff --git a/packages/core/src/default-css.ts b/packages/core/src/default-css.ts
index 8aab0feeb9..51c0b96296 100644
--- a/packages/core/src/default-css.ts
+++ b/packages/core/src/default-css.ts
@@ -35,5 +35,9 @@ export const makeDefaultCSS = (scope: string | null) => {
${scope} * {
box-sizing: border-box;
}
+ ${scope} *:-webkit-full-screen {
+ width: 100%;
+ height: 100%;
+ }
`;
};