Skip to content

Comments

feat: flip video horizontally#4437

Merged
yuliskov merged 1 commit intoyuliskov:masterfrom
nico1311:feat/flip-video
Mar 23, 2025
Merged

feat: flip video horizontally#4437
yuliskov merged 1 commit intoyuliskov:masterfrom
nico1311:feat/flip-video

Conversation

@nico1311
Copy link
Contributor

@nico1311 nico1311 commented Mar 6, 2025

I needed a way to horizontally flip videos, and noticed it wasn't implemented so this is my attempt at it.

This addresses issues #319 and #2902.

The implementation is mostly based on the rotate feature code, using setScaleX(-1) on the player view to flip horizontally.

I've tested it on an emulator (Android TV API 31) and on a Chromecast with Google TV, seems to work properly and no regressions were observed.

Attached a screencast demoing the change.

Let me know if there's something to improve or modify. Thank you!

Demo

flip_video_smarttube.mp4

@yuliskov yuliskov merged commit 0331f21 into yuliskov:master Mar 23, 2025
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.

2 participants