aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/players
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2023-01-05 06:17:55 +0300
committerRblSb <msrblsb@gmail.com>2023-01-05 06:17:55 +0300
commitc677e281d3d74d5925e19eb0479c27f46a3c7857 (patch)
treee3e7084778b56f393d62d0167105408b231d23ca /src/client/players
parente877f070e367a7a9d93b93bf676f4afdb948356f (diff)
Add /ad command
for skipping youtube sponsored blocks
Diffstat (limited to 'src/client/players')
-rw-r--r--src/client/players/Youtube.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/players/Youtube.hx b/src/client/players/Youtube.hx
index ca8d415..9ed5630 100644
--- a/src/client/players/Youtube.hx
+++ b/src/client/players/Youtube.hx
@@ -41,7 +41,7 @@ class Youtube implements IPlayer {
return extractVideoId(url) != "" || extractPlaylistId(url) != "";
}
- function extractVideoId(url:String):String {
+ public function extractVideoId(url:String):String {
if (matchId.match(url)) {
return matchId.matched(1);
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage