IEvangelist / IEvangelist.VideoChat

Imagine two Twilio SDKs, ASP.NET Core/C#, Angular/TypeScript, SignalR, etc... Yeah, amazing!
http://bit.ly/video-chat-tutorial
MIT License
67 stars 59 forks source link

Adding Responsiveness to this Project? #27

Closed gregarican closed 4 years ago

gregarican commented 4 years ago

This is a great sample app showing us the ropes! I wanted to add responsiveness to this, so that a mobile user (or a user who shrinks down their browser window) will see a straight-vertical line of all page elements.

Implementing Bootstrap and a resizing event handler, things are going pretty well. The only quirk is that the user's own camera view that appears in the right pane below the Settings elements doesn't appear when the page is full-screen. This is after the user creates a room and their camera is added to it. This camera view just disappears. While the preview did previously appear in the center of the screen.

Below is my reworked home.component.html file. Any suggestions? I know this is a bit OT, since it's outside the scope of the project itself. I am not an expert UI web dev, as I typically don't pretty things up too much :)

IEvangelist commented 4 years ago

In all honesty, I'm not much of a UI person either. I just mess around with things, doing trial and error until it comes out looking the way I'd like. I'd probably consider rewriting the app to use native camera controls for mobile, instead of being web based.

gregarican commented 4 years ago

That might be an option. We are looking to deploy something as a virtual retail presentation tool. The salesperson will have a full-size PC, while the customer might typically be on a mobile device. Hence my initial stab at trying to just utilize a standard web browser. I will need to bone up on Bootstrap and see where it leads me. Thanks for the quick reply!