Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Fix/allow video autoplay without click #381

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

bramford
Copy link
Contributor

Relevant components:

  • Frontend library

Problem statement:

Video is unable to autoplay (even when paused) due to attempting to play the audio first. Autoplaying muted videos should always work, according to Chrome/MDN docs

Solution

Autoplay the video, not the audio. Audio starts playing on frame click.

Documentation

N/A

Test Plan and Compatibility

We've been using this change in production at Odyssey for weeks, works well.

@github-actions
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
UE5.2
UE5.3
UE5.4

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

mcottontensor added a commit that referenced this pull request Oct 23, 2023
[UE5.2] Merge pull request #381 from New-Game-Plus/fix-video-autoplay
mcottontensor added a commit that referenced this pull request Oct 23, 2023
[UE5.3] Merge pull request #381 from New-Game-Plus/fix-video-autoplay
mcottontensor added a commit that referenced this pull request Oct 23, 2023
[UE5.4] Merge pull request #381 from New-Game-Plus/fix-video-autoplay
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

2 participants