Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portrait and Landscape support with MM serveronly #117

Open
dougroutledge opened this issue Sep 29, 2021 · 0 comments
Open

Portrait and Landscape support with MM serveronly #117

dougroutledge opened this issue Sep 29, 2021 · 0 comments

Comments

@dougroutledge
Copy link

It would be amazing if this add-on would support a frame in either orientation, being served with a PI kiosk web browser going to a central MM in server mode. Currently it looks amazing in portrait mode, nice work. In landscape 1/2 the screen is black, and the pictures are almost always partially off screen no matter what other settings are used.

At the browser end the addon should be able to detect the window size, and adjust from there.

var w = window.innerWidth;
var h = window.innerHeight;

You could even subscribe to the window size change event, and adjust on the fly. Again, love the project, great work, and happy to help in any way.

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

No branches or pull requests

1 participant