[mirotalksfu] - add google translate
هذا الالتزام موجود في:
@@ -41,6 +41,7 @@
|
|||||||
- Recording your Screen, Audio, or Video
|
- Recording your Screen, Audio, or Video
|
||||||
- Share any YouTube video in real-time to your participants
|
- Share any YouTube video in real-time to your participants
|
||||||
- Share any mp4, webm, ogg video in real-time to your participants with possibility to download it
|
- Share any mp4, webm, ogg video in real-time to your participants with possibility to download it
|
||||||
|
- Translated in all languages thanks to google translate
|
||||||
- Full-Screen Mode on mouse click on the Video element
|
- Full-Screen Mode on mouse click on the Video element
|
||||||
- Possibility to Change UI Themes
|
- Possibility to Change UI Themes
|
||||||
- Possibility to protect your Host with username and password (default disabled)
|
- Possibility to protect your Host with username and password (default disabled)
|
||||||
|
|||||||
@@ -87,6 +87,7 @@ function initClient() {
|
|||||||
setTippy('tabVideoShareBtn', 'Video share', 'top');
|
setTippy('tabVideoShareBtn', 'Video share', 'top');
|
||||||
setTippy('tabAspectBtn', 'Aspect', 'top');
|
setTippy('tabAspectBtn', 'Aspect', 'top');
|
||||||
setTippy('tabStylingBtn', 'Styling', 'top');
|
setTippy('tabStylingBtn', 'Styling', 'top');
|
||||||
|
setTippy('tabLanguagesBtn', 'Styling', 'top');
|
||||||
setTippy('wbBackgroundColorEl', 'Background color', 'top');
|
setTippy('wbBackgroundColorEl', 'Background color', 'top');
|
||||||
setTippy('wbDrawingColorEl', 'Drawing color', 'top');
|
setTippy('wbDrawingColorEl', 'Drawing color', 'top');
|
||||||
setTippy('whiteboardPencilBtn', 'Drawing mode', 'top');
|
setTippy('whiteboardPencilBtn', 'Drawing mode', 'top');
|
||||||
@@ -701,6 +702,9 @@ function handleButtons() {
|
|||||||
tabStylingBtn.onclick = (e) => {
|
tabStylingBtn.onclick = (e) => {
|
||||||
rc.openTab(e, 'tabStyling');
|
rc.openTab(e, 'tabStyling');
|
||||||
};
|
};
|
||||||
|
tabLanguagesBtn.onclick = (e) => {
|
||||||
|
rc.openTab(e, 'tabLanguages');
|
||||||
|
};
|
||||||
chatButton.onclick = () => {
|
chatButton.onclick = () => {
|
||||||
rc.toggleChat();
|
rc.toggleChat();
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -125,6 +125,7 @@ access to use this app.
|
|||||||
<button id="tabVideoShareBtn" class="fab fa-youtube tablinks"></button>
|
<button id="tabVideoShareBtn" class="fab fa-youtube tablinks"></button>
|
||||||
<button id="tabAspectBtn" class="fas fa-cog tablinks"></button>
|
<button id="tabAspectBtn" class="fas fa-cog tablinks"></button>
|
||||||
<button id="tabStylingBtn" class="fas fa-palette tablinks"></button>
|
<button id="tabStylingBtn" class="fas fa-palette tablinks"></button>
|
||||||
|
<button id="tabLanguagesBtn" class="fas fa-globe tablinks"></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="tabDevices" class="tabcontent">
|
<div id="tabDevices" class="tabcontent">
|
||||||
@@ -268,6 +269,11 @@ access to use this app.
|
|||||||
</select>
|
</select>
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div id="tabLanguages" class="tabcontent">
|
||||||
|
<br />
|
||||||
|
<div id="google_translate_element"></div>
|
||||||
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@@ -376,5 +382,14 @@ access to use this app.
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
<!--
|
||||||
|
Start Google Translate
|
||||||
|
-->
|
||||||
|
<script>
|
||||||
|
function googleTranslateElementInit() {
|
||||||
|
new google.translate.TranslateElement({ pageLanguage: 'en' }, 'google_translate_element');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<script src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم