my advice would be to add a listener to detect a change in orientation and add "invert" / rotate css to the container for the slide show. This should not depend on the Swiper api, but can work with it.
window.addEventListener("orientationchange", function() {
Responsive pagination and Navigation buttons are two options in Swiper that rotate the page in mobile auto-rotate, so you just need to add inverted css to complete the rotation.
There is a useful David Walsh blog regarding finding orientation changes here
matchMedia Example js from a blog:
var mql = window.matchMedia("(orientation: portrait)");
Rachel gallen
source share