Skip to content

fix: keep videos playing inline on mobile - #1321

Open
marktran0710 wants to merge 1 commit into
THU-MAIC:mainfrom
marktran0710:fix/wechat-inline-video
Open

fix: keep videos playing inline on mobile#1321
marktran0710 wants to merge 1 commit into
THU-MAIC:mainfrom
marktran0710:fix/wechat-inline-video

Conversation

@marktran0710

Copy link
Copy Markdown

Summary

Keep playback videos inline on mobile browsers, including WeChat on Android.

Related Issues

Closes #878

Changes

  • Add playsInline to the legacy app playback renderer.
  • Add playsInline to the renderer-backed playback path.
  • Add playsInline to the shared @openmaic/renderer package.
  • Add regression tests for all playback paths.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Refactoring
  • CI/CD or build changes

Verification

  • App playback tests: 6/6 passed.
  • Renderer package tests: 2/2 passed.
  • Renderer typecheck passed.
  • Prettier passed.
  • ESLint passed with existing warnings.

Checklist

  • Code follows the project style.
  • Self-review completed.
  • Regression tests added.
  • No new warnings introduced.
Add playsInline to every playback video path, including the legacy app renderer, renderer-backed playback, and the shared renderer package. This keeps mobile browsers such as WeChat on Android from interrupting inline playback and restarting videos after an interruption.

Add regression coverage for both app renderer modes and the package renderer.
@CXuPercy
CXuPercy self-requested a review September 1, 2026 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant