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

4k Support #17

Open
elksson opened this issue Feb 20, 2019 · 6 comments
Open

4k Support #17

elksson opened this issue Feb 20, 2019 · 6 comments

Comments

@elksson
Copy link

elksson commented Feb 20, 2019

We have some dashboard for business intelligence that we would like to display on our apple TV's however these dashboards require us to use a 4K display to see all the content. Is it possible to make this app render the website in 4k resolution so that all the content can be displayed?

I would love to contribute this change but am not even certain where to start. If you can point me in the right direction I would love to help implement it.

Thanks

@jvanakker
Copy link
Owner

jvanakker commented Feb 20, 2019

This app uses a WebView which automatically scales the content of the webpage to fit the screen. Just like (for example) an iPad does in Safari. Scale is independent of the actual resolution of the monitor. This browser does yet support fluent zooming like on iOS.

To see if your web application/dashboard will render correctly, depends on many factors. I guess it doesn't follow the modern responsive design methods?
You simply have try it. You can also try the menu option to "Stop scaling pages to fit" so it should render 1:1. Please be adviced that if there are some video's/streams embedded in the dashboard (and thats the 4K requirement) that this may not work, because video playing does not always work correctly yet in webviews on tvOS.

@elksson
Copy link
Author

elksson commented Feb 20, 2019

No videos just graphs and charts. The issue I’m having is that if I set any break points the viewcontroller size appears to be 1920x1080 instead of 4K even though the tv is 4K the webview wont give the full space to the webpage.

@elksson
Copy link
Author

elksson commented Feb 20, 2019

It does not matter if the app is scaling pages to fit or not the page renders 1920x 1080 worth of the content then puts the rest of the page in a scrollview. I would like this scrollview to be sized based on the native resolution and any content that does not fit in the native resolution should then become scrollable.

@elksson
Copy link
Author

elksson commented Feb 22, 2019

Can you link this enhancement to pull request #19

@elksson
Copy link
Author

elksson commented Mar 14, 2019

@jvanakker Is there some feedback on pull request #19 I have not noticed any comments from you, neither has the request been merged? Please let me know if there is something that needs to be changed.

@jvanakker
Copy link
Owner

@elksson thanks for reminding, haven't had the time yet. Will review the enhancement, pull request and the other issues later this week/end and let you know.

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

2 participants