Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Javascript question

views
     
TSalexa
post Aug 12 2019, 03:58 PM, updated 5y ago

Big Boss
******
Senior Member
1,456 posts

Joined: Jan 2009
From: mont kiara, kuala lumpur



I need some help with this.

https://stackoverflow.com/questions/5745600...nother-function

https://stackoverflow.com/questions/5745727...aking-the-video
webbytrout
post Aug 12 2019, 05:49 PM

Getting Started
**
Junior Member
57 posts

Joined: Feb 2017
CODE
e.call.answer(videoFlags); //need to trigger this

wait for promise resolved then chain another .then and invoke call.answer(videoFlags) the second .then()?

QUOTE
I trying to append a <video> tag into a <div> without breaking the video but not successful.
I want to append <video> into <div class="video_call_iframe">.
The <video> already rendered in DOM and how I can append it using javascript?

Some weird things happened, the original position of <video> located bottom left, but I changed the position, the video disappeared.

Please advise. Thank you.

P.S: I'm using Voximplant Web SDK to produce a video call between web & react native app.


not sure about the video disappearing but if r.native doesn't throw any error on the component probably just UI issue like css being overridden to the initial state on re-render

 

Change to:
| Lo-Fi Version
0.0118sec    0.55    5 queries    GZIP Disabled
Time is now: 29th March 2024 - 09:41 PM