From 333a8b00e4a264c518b6c5283d8ef97464cfac2a Mon Sep 17 00:00:00 2001 From: Marcell Guilherme Costa da Silva Date: Wed, 18 Jul 2018 22:39:39 -0300 Subject: [PATCH] add localTag on "initializing" and "video support" pages --- _posts/2015-10-13-initializing-verto.md | 5 +++++ _posts/2015-10-19-adding-video-support.md | 3 +++ 2 files changed, 8 insertions(+) diff --git a/_posts/2015-10-13-initializing-verto.md b/_posts/2015-10-13-initializing-verto.md index cbcd25b..e008069 100644 --- a/_posts/2015-10-13-initializing-verto.md +++ b/_posts/2015-10-13-initializing-verto.md @@ -69,6 +69,11 @@ function bootstrap(status) { // In this case, once call is finished, newly generated element will be // destroyed automatically) tag: "video-container", + // Optional. Similar to the "tag" above, but "localTag" is a video + // element id that will render only the input device chosen + // by "deviceParams.useCamera" (if you make a call using video as + // you can see in further doc pages) + localTag: "my-local-video", // Below are some more advanced configuration parameters. // Google Chrome specific adjustments/filters for audio. // Official documentation is scant, best to try them out and see! diff --git a/_posts/2015-10-19-adding-video-support.md b/_posts/2015-10-19-adding-video-support.md index f5fb358..07b86b1 100644 --- a/_posts/2015-10-19-adding-video-support.md +++ b/_posts/2015-10-19-adding-video-support.md @@ -18,6 +18,7 @@ Verto was built for video conferences, so adding support for it is very simple. + ``` @@ -28,6 +29,8 @@ function bootstrap(status) { vertoHandle = new jQuery.verto({ // ID of HTML video tag where the video feed is placed. tag: "video-container", + // Optional, video tag to render the stream got from the chosen deviceParams.useCamera device + localTag: "my-local-video", deviceParams: { // Asking for camera permissions and devices. useCamera: 'any',