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

fix: add playsinline to avoid full screen #6395

Merged
merged 1 commit into from Mar 15, 2024

Conversation

deboer-tim
Copy link
Collaborator

What does this PR do?

The 'playing' attribute sets the player to auto-start, but it is starting full screen. Adding 'playsinline' to every react player should ensure that it doesn't go full screen on phones.

Screenshot / video of UI

N/A

What issues does this PR fix or reference?

Fixes #6335.

How to test this PR?

Browse blogs with videos (e.g. 1.5 release) on a phone and confirm the videos aren't full screen by default.

The 'playing' attribute sets the player to auto-start, but it is starting
full screen. Adding 'playsinline' to every react player should ensure that
it doesn't go full screen on phones.

Fixes containers#6335.

Signed-off-by: Tim deBoer <git@tdeboer.ca>
@deboer-tim
Copy link
Collaborator Author

My wifi and cell connection atm is incredibly bad, but looks like this change solves the problem by making videos on mobile inline, without any regression to desktop web browsers. Moving to regular review.

@deboer-tim deboer-tim marked this pull request as ready for review March 14, 2024 23:34
@deboer-tim deboer-tim requested review from slemeur, cdrage, benoitf and a team as code owners March 14, 2024 23:34
@deboer-tim deboer-tim requested review from dgolovin and removed request for a team March 14, 2024 23:34
@benoitf benoitf merged commit b5a1765 into containers:main Mar 15, 2024
13 checks passed
@podman-desktop-bot podman-desktop-bot added this to the 1.9.0 milestone Mar 15, 2024
@deboer-tim deboer-tim deleted the playsinline branch March 20, 2024 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Podman Desktop blog section very broken on Safari
3 participants