From cf78d464be214eedcd7909001ece2aa0a216d136 Mon Sep 17 00:00:00 2001 From: RblSb Date: Mon, 5 Jul 2021 17:09:56 +0300 Subject: vtt/srt subs support --- src/client/Buttons.hx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/client/Buttons.hx') diff --git a/src/client/Buttons.hx b/src/client/Buttons.hx index ee42f44..7df6486 100644 --- a/src/client/Buttons.hx +++ b/src/client/Buttons.hx @@ -158,9 +158,7 @@ class Buttons { final isRawSingleVideo = value != "" && main.isRawPlayerLink(value) && main.isSingleVideoLink(value); ge("#mediatitleblock").style.display = isRawSingleVideo ? "" : "none"; - if (JsApi.hasSubtitleSupport()) { - ge("#subsurlblock").style.display = isRawSingleVideo ? "" : "none"; - } + ge("#subsurlblock").style.display = isRawSingleVideo ? "" : "none"; } mediaUrl.onfocus = mediaUrl.oninput; -- cgit v1.2.3