Hello. I am implementing the video sdk integration to our website. I’ve started to doubt if I’m following the best practices about zoom “video-player” web component. I have a few questions:
- Should “video-player” be a direct (first-level) child of “video-player-container”? In other words, which html structure is better or required:
<video-player-container>
<video-player class="remote-participant"></video-player>
<video-player class="local-participant"></video-player>
</video-player-container>
or:
<video-player-container>
<div class="remote-participants">
<div class="remote-participant">
<div class="video">
<video-player></video-player>
</div>
</div>
</div>
<div class="local-participant">
<div class="video">
<video-player></video-player>
</div>
</div>
</video-player-container>
- Should there be only one “video-player-container” web component inside a web page and all “video-player” components should be put inside that single “video-player-container”?
Thank you very much!