migrate to vk.ru, temporarily disable dual vp8 for vk

This commit is contained in:
kulikov0 committed 2026-07-24 15:19:55 +02:00
1 parent f4714f93d6
commit e6502a4ac4
16 files changed
+31 -31

No files matched your search

+3 -3
View File
@@ -79,7 +79,7 @@ export function renderContent(tm: RendererTabManager): void {
targetInput.placeholder = 'https://telemost.yandex.ru/j/...';
} else {
targetLabel.textContent = 'Paste a VK call link.';
targetInput.placeholder = 'https://vk.com/call/join/...';
targetInput.placeholder = 'https://vk.ru/call/join/...';
}
} else {
startEl.classList.remove('visible');
@@ -116,7 +116,7 @@ export function renderContent(tm: RendererTabManager): void {
} else {
toolbar.style.display = 'flex';
headlessInfo.style.display = 'none';
const isVK = activeTab.platform === Platform.VK && activeTab.url.includes('vk.com');
const isVK = activeTab.platform === Platform.VK && activeTab.url.includes('vk.ru');
const modeSelect = document.getElementById('modeSelect') as HTMLSelectElement;
const tunnelLabel = document.getElementById('tunnelLabel') as HTMLElement;
modeSelect.style.display = isVK ? '' : 'none';
@@ -172,7 +172,7 @@ export function loadURL(tm: RendererTabManager, url: string): void {
if (url.includes('telemost.yandex')) {
activeTab.platform = Platform.Telemost;
activeTab.mode = TunnelMode.PionVideo;
} else if (url.includes('vk.com')) {
} else if (url.includes('vk.ru')) {
activeTab.platform = Platform.VK;
}
window.bridge.setTunnelMode(tm.activeTabId, activeTab.mode, activeTab.platform);
+1 -1
View File
@@ -165,7 +165,7 @@ export class RendererTabManager {
getTabLabel(tab: RendererTab): string {
if (tab.name) return tab.name;
if (tab.url) {
if (tab.url.includes('vk.com')) return 'VK (legacy)';
if (tab.url.includes('vk.ru')) return 'VK (legacy)';
if (tab.url.includes('telemost')) return 'Telemost (legacy)';
if (tab.url.includes('dion.vc')) return 'DION';
}