Comments (1)
Right now it tries to intelligently decide whether to put the small elements on the right or below depending on the size of the container. If the window is wider than it is tall then the small videos will be on the right.
If the window is taller than it is wide then it will put them at the bottom.
If you want to force it to always be on the right or always on the bottom I would add a new property. Something like bigPosition: 'top' | 'bottom' | 'left' | 'right' | 'auto'
from opentok-layout-js.
Related Issues (20)
- The "Mute" button flies up when adding a stream HOT 1
- scaleLastRow: false still scales the last row HOT 1
- Include containerWidth and containerHeight in readme
- Include containerWidth and containerHeight in readme HOT 1
- [Question] Is it possible to implement this layout? HOT 5
- Small items are right aligned HOT 1
- Small items are smaller than they could be. HOT 2
- By removing OT_big from element, does it effect the resolution? HOT 1
- How i can put the addEventListener( 'dblclick',.. on other subscriber streams with opentok
- OpenTok Layour Example with Open tok
- Changelog : Any breaking changes from v3.1.0 to v5 ? HOT 1
- deprecated actions
- feature-request: typescript definitions
- How do we add a an option like "OT_big" on an other class other than subscribers and publishers? HOT 2
- Integration with React Opentok
- Padding Around Video Elements HOT 1
- Layout Doesn't Work HOT 1
- Padding, Border, and Margin not taken into account due to camelCase CSS property names
- Layout Doesn't Work
- Layout works when window is resized, otherwise sometimes it doesn't HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opentok-layout-js.