[mirotalksfu] - add YouTube share video

هذا الالتزام موجود في:
Miroslav Pejic
2021-10-03 17:11:19 +02:00
الأصل d9082c8ac0
التزام 447040110a
8 ملفات معدلة مع 159 إضافات و5 حذوفات

عرض الملف

@@ -434,6 +434,7 @@ function roomIsReady() {
show(raiseHandButton);
if (isAudioAllowed) show(startAudioButton);
if (isVideoAllowed) show(startVideoButton);
show(youTubeShareButton);
show(fileShareButton);
show(whiteboardButton);
show(participantsButton);
@@ -612,6 +613,12 @@ function handleButtons() {
fileShareButton.onclick = () => {
rc.selectFileToShare();
};
youTubeShareButton.onclick = () => {
rc.youTubeShareVideo();
};
youTubeCloseBtn.onclick = () => {
rc.closeYouTube(true);
};
sendAbortBtn.onclick = () => {
rc.abortFileTransfer();
};