Skip to content

Commit

Permalink
🌮 Fix HTML head tags and auto-fullscreen on mobile safari (Joystream#…
Browse files Browse the repository at this point in the history
…6248)

* fix head tags

* fix auto-fullscreen on mobile safari
  • Loading branch information
kdembler authored and WRadoslaw committed May 6, 2024
1 parent 2e8568f commit d88dbea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/atlas/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<preference name="AllowInlineMediaPlayback" value="true" />
<!-- The following node will be replaced by Optimize init script during Vite's build step (see ../plugins) -->
<optimize-script />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const ReferralsVideo = () => {
<LayoutGrid>
<GridItem colSpan={{ base: 12, lg: 10 }} colStart={{ lg: 2 }}>
<StyledVideoWrapper>
<StyledVideo ref={videoRef} autoPlay loop muted>
<StyledVideo ref={videoRef} autoPlay loop muted playsInline>
<source
src="https://eu-central-1.linodeobjects.com/atlas-assets/categories/gleev/videos/referrals/Referrals_dashboard.mp4"
type="video/mp4"
Expand Down

0 comments on commit d88dbea

Please sign in to comment.