<video controls>
</video>
video {
transform: scaleX(-1)
}
This CSS code flips the video horizontally, but it also flips the control buttons along with it.
I attempted to flip the wrapper element containing the video using .wrapper {transform: scaleX(-1)
, but it did not solve the issue.
Since I am not proficient in creating custom video controls from scratch, I am seeking a solution that involves only CSS like transform: scaleX()
.
How can I achieve a mirrored effect on the video itself while keeping the control buttons unaffected?
MIRRORED IMAGE https://i.sstatic.net/s6MVV.jpg
UNMIRRORED IMAGE https://i.sstatic.net/huksK.jpg