[mirotalk] - extend branding

This commit is contained in:
Miroslav Pejic
2025-01-26 14:23:28 +01:00
parent 7bc8c6bd31
commit acbd7d336f
6 changed files with 26 additions and 6 deletions
+3
View File
@@ -12,6 +12,9 @@ module.exports = {
site: {
landingTitle: 'MiroTalk a Free Secure Video Calls, Chat & Screen Sharing.',
newCallTitle: 'MiroTalk a Free Secure Video Calls, Chat & Screen Sharing.',
newCallRoomTitle: 'Pick name. <br />Share URL. <br />Start conference.',
newCallRoomDescription:
"Each room has its disposable URL. Just pick a room name and share your custom URL. It's that easy.",
loginTitle: 'MiroTalk - Host Protected login required.',
clientTitle: 'MiroTalk WebRTC Video call, Chat Room & Screen Sharing.',
privacyPolicyTitle: 'MiroTalk - privacy and policy.',
+1 -1
View File
@@ -39,7 +39,7 @@ dependencies: {
* @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.4.62
* @version 1.4.63
*
*/
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "mirotalk",
"version": "1.4.62",
"version": "1.4.63",
"description": "A free WebRTC browser-based video call",
"main": "server.js",
"scripts": {
+9
View File
@@ -7,6 +7,8 @@ const brandData = window.sessionStorage.getItem(brandDataKey);
// Html pages
const landingTitle = document.getElementById('landingTitle');
const newCallTitle = document.getElementById('newCallTitle');
const newCallRoomTitle = document.getElementById('newCallRoomTitle');
const newCallRoomDescription = document.getElementById('newCallRoomDescription');
const loginTitle = document.getElementById('loginTitle');
const privacyPolicyTitle = document.getElementById('privacyPolicyTitle');
const stunTurnTitle = document.getElementById('stunTurnTitle');
@@ -41,6 +43,9 @@ let brand = {
site: {
landingTitle: 'MiroTalk a Free Secure Video Calls, Chat & Screen Sharing.',
newCallTitle: 'MiroTalk a Free Secure Video Calls, Chat & Screen Sharing.',
newCallRoomTitle: 'Pick name. <br />Share URL. <br />Start conference.',
newCallRoomDescription:
"Each room has its disposable URL. Just pick a room name and share your custom URL. It's that easy.",
loginTitle: 'MiroTalk - Host Protected login required.',
clientTitle: 'MiroTalk WebRTC Video call, Chat Room & Screen Sharing.',
privacyPolicyTitle: 'MiroTalk - privacy and policy.',
@@ -113,7 +118,11 @@ function setBrand(data) {
*/
function handleBrand() {
if (landingTitle) landingTitle.textContent = brand.site.landingTitle;
if (newCallTitle) newCallTitle.textContent = brand.site.newCallTitle;
if (newCallRoomTitle) newCallRoomTitle.innerHTML = brand.site.newCallRoomTitle;
if (newCallRoomDescription) newCallRoomDescription.textContent = brand.site.newCallRoomDescription;
if (loginTitle) loginTitle.textContent = brand.site.loginTitle;
if (privacyPolicyTitle) privacyPolicyTitle.textContent = brand.site.privacyPolicyTitle;
if (stunTurnTitle) stunTurnTitle.textContent = brand.site.stunTurnTitle;
+2 -2
View File
@@ -15,7 +15,7 @@
* @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.4.62
* @version 1.4.63
*
*/
@@ -11039,7 +11039,7 @@ function showAbout() {
Swal.fire({
background: swBg,
position: 'center',
title: '<strong>WebRTC P2P v1.4.62</strong>',
title: '<strong>WebRTC P2P v1.4.63</strong>',
imageAlt: 'mirotalk-about',
imageUrl: images.about,
customClass: { image: 'img-about' },
+10 -2
View File
@@ -88,12 +88,20 @@
<div class="split-wrap invert-mobile">
<div class="split-item">
<div class="hero-content split-item-content center-content-mobile">
<h1 class="mt-32 mb-16 reveal-from-bottom" data-reveal-delay="150">
<h1
id="newCallRoomTitle"
class="mt-32 mb-16 reveal-from-bottom"
data-reveal-delay="150"
>
Pick name. <br />
Share URL. <br />
Start conference.
</h1>
<p class="mt-0 mb-32 reveal-from-bottom" data-reveal-delay="300">
<p
id="newCallRoomDescription"
class="mt-0 mb-32 reveal-from-bottom"
data-reveal-delay="300"
>
Each room has its disposable URL. Just pick a room name and share your
custom URL. It's that easy.
</p>