문제

I am using the vLine UI widgets for a WebRTC app. (https://vline.com/developer/docs/ui_widgets). When the call starts and the video panel is shown it extends to the whole page. Is there any way to restrict to a particular div on the page?

Thanks

도움이 되었습니까?

해결책

Yes, when you create the vline.Client (https://vline.com/developer/docs/vline.js/vline.Client#create), you can pass the div as one of the vline.Options (https://vline.com/developer/docs/vline.js/vline.Options):

vline.Client.create({"serviceId": "your-service-id", "uiVideoPanel": "name-of-div"});
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top