Skip to content

Add an apps autoplay check#15486

Merged
abeddow91 merged 1 commit intomainfrom
ab-eh/bridget-is-autoplay-enabled
Mar 31, 2026
Merged

Add an apps autoplay check#15486
abeddow91 merged 1 commit intomainfrom
ab-eh/bridget-is-autoplay-enabled

Conversation

@abeddow91
Copy link
Copy Markdown
Contributor

@abeddow91 abeddow91 commented Mar 5, 2026

What does this change?

Adds a call to check the autoplay status of the native apps. To access the isAutoplayEnabled method, the client must be on version 8.8.0 or higher. If not, DCR will continue with existing behaviour and return true for autoplay.

Why?

So that self hosted videos in articles respect in-app accessibility settings.

@abeddow91 abeddow91 requested a review from a team as a code owner March 5, 2026 14:44
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 5, 2026

Hello 👋! When you're ready to run Chromatic, please apply the run_chromatic label to this PR.

You will need to reapply the label each time you want to run Chromatic.

Click here to see the Chromatic project.

@abeddow91 abeddow91 added the feature Departmental tracking: work on a new feature label Mar 5, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 5, 2026

@abeddow91 abeddow91 force-pushed the ab-eh/bridget-is-autoplay-enabled branch 2 times, most recently from bdbb791 to 590bcfb Compare March 11, 2026 09:53
@abeddow91 abeddow91 self-assigned this Mar 11, 2026
Copy link
Copy Markdown
Contributor

@RikRootsGuardian RikRootsGuardian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is adding new functionality for prefers-reduced-motion user preference in apps. The existing checks for web remain intact. Happy to approve.

@abeddow91 abeddow91 force-pushed the ab-eh/bridget-is-autoplay-enabled branch from 8ee265b to 7d466c1 Compare March 18, 2026 17:32
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 18, 2026

@abeddow91 abeddow91 added the run_chromatic Runs chromatic when label is applied label Mar 30, 2026
…able on the video client.

If the client is using a version lower than 8.8.0, autoplay is set to true to preserve existing behaviour
@abeddow91 abeddow91 force-pushed the ab-eh/bridget-is-autoplay-enabled branch from 8bf22a1 to 5fdaaa3 Compare March 31, 2026 11:12
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Mar 31, 2026
@abeddow91 abeddow91 merged commit 0712142 into main Mar 31, 2026
29 checks passed
@abeddow91 abeddow91 deleted the ab-eh/bridget-is-autoplay-enabled branch March 31, 2026 12:53
@gu-prout
Copy link
Copy Markdown

gu-prout bot commented Mar 31, 2026

Seen on PROD (merged by @abeddow91 10 minutes and 29 seconds ago) Please check your changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Do not merge ⚠️ feature Departmental tracking: work on a new feature Seen-on-PROD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants