Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: inline play Hero videos #255

Merged
merged 3 commits into from
Dec 18, 2023
Merged

feat: inline play Hero videos #255

merged 3 commits into from
Dec 18, 2023

Conversation

DiogoSoaress
Copy link
Member

@DiogoSoaress DiogoSoaress commented Dec 6, 2023

What it solves

Keeps the videos from playing in a fullscreen modal disrupting the mobile experience.

How this PR fixes it

  • Added the playsInline attribute to the <video> tag.
  • Removed the .mp4 files, keeping only webm with a .hevc.mp4 fallback.
  • Moved the Core related assets inside /Core folder.

How to test

Navigate from https://safe-web-landing.dev.5afe.dev/ to https://safe-web-landing.dev.5afe.dev/core in a mobile browser and observe the Intro videos playing in the layout rather than in fullscreen

Copy link

github-actions bot commented Dec 6, 2023

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

Copy link

github-actions bot commented Dec 6, 2023

Branch preview

✅ Deployed to dev:

https://safe-web-landing.dev.5afe.dev

@DiogoSoaress DiogoSoaress force-pushed the inline-hero-videos branch 4 times, most recently from e043a2e to 7a9be86 Compare December 6, 2023 13:35
@DiogoSoaress DiogoSoaress force-pushed the inline-hero-videos branch 2 times, most recently from 17bf328 to 8dca8fb Compare December 15, 2023 10:39
@DiogoSoaress DiogoSoaress marked this pull request as ready for review December 15, 2023 12:50
@DiogoSoaress DiogoSoaress merged commit 59f6fdf into main Dec 18, 2023
5 checks passed
@DiogoSoaress DiogoSoaress deleted the inline-hero-videos branch December 18, 2023 12:56
@github-actions github-actions bot locked and limited conversation to collaborators Dec 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants