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

Implement dynamic measuring #7

Open
hartman opened this issue May 9, 2016 · 1 comment
Open

Implement dynamic measuring #7

hartman opened this issue May 9, 2016 · 1 comment

Comments

@hartman
Copy link
Owner

hartman commented May 9, 2016

Currently we depend on preconceptions of the layout of the control bar to determine which layout is chosen. Ideally, we do a dynamic measure step, whereby due to applying a class, measuring to see if it fits, and alternatively switching back, or even to a next class, we determine if the class fits or not.

The complexity here is that we need to prevent flipping back and forth between two states. We need to 'measure' and then 'settle'.

@hartman
Copy link
Owner Author

hartman commented Oct 17, 2016

Idea:

We could just have defined widths, for each 4 layouts. The reason I have so far not done so, is because of the optional presence of so many of the controls... That means that in one configuration, you can have 5 controls on the side for one video, and just 2 for another... that is a huge difference in width, making it rather difficult to be consistent.

The new idea however, is that you would have an 'overflow' bar that could reveal the rest of the controls in a sort of 'hover' overlay..

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