How to control the horizontal and vertical alignment of users inside the webcamSub ?
This is the result with the old and new LCCS webcamSub.
Thank you,
Bernard
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Bernard,
Sorry fot the inconvenience - as part of the improvements to the webcamsubscriber, we did make some changes to the layout system, in order to make it easier to control. So, it might not be as good at automatically guessing the layout you'd like, but you'll much more easily be able to force it to do exactly what you want.
Here's the new property we added to webcamSubscriber:
usersPerRow:int
[read-write]
Specifies the number of user videos to show per row in the webcamsubscriber. Once the number of videos to display exceeds this number, a new row is created with the excess videos. Defaults to 4. For a long horizontal strip, set this to a high number - for a vertical strip, set this to a low number.
So, for your case, simply set usersPerRow to 1, and this will lay out vertically.
hope that helps,
nigel
Views
Replies
Total Likes
Hi Bernard,
Sorry fot the inconvenience - as part of the improvements to the webcamsubscriber, we did make some changes to the layout system, in order to make it easier to control. So, it might not be as good at automatically guessing the layout you'd like, but you'll much more easily be able to force it to do exactly what you want.
Here's the new property we added to webcamSubscriber:
usersPerRow:int
[read-write]
Specifies the number of user videos to show per row in the webcamsubscriber. Once the number of videos to display exceeds this number, a new row is created with the excess videos. Defaults to 4. For a long horizontal strip, set this to a high number - for a vertical strip, set this to a low number.
So, for your case, simply set usersPerRow to 1, and this will lay out vertically.
hope that helps,
nigel
Views
Replies
Total Likes
Great ! it's working!
Is it possible to sort the display by username ?
Thanks
Bernard
Views
Replies
Total Likes
No answer ?
Views
Replies
Total Likes
Sorry, nothing by default. You can also create several webcamsubscribers (each one with its own publisherIDs, one per publisher), and position them any way you'd like.
nigel
Thanks Nigel
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies