aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Player.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2021-01-24 13:12:58 +0300
committerRblSb <msrblsb@gmail.com>2021-01-24 13:12:58 +0300
commit35beab11cdccf09dc77917a795b033314e62a5b1 (patch)
tree23134d53f46ac678742f7fc4095b66dd68010617 /src/client/Player.hx
parent3444b413ab12783c85ce73df9931142fea11b749 (diff)
Video title input
Diffstat (limited to 'src/client/Player.hx')
-rw-r--r--src/client/Player.hx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/Player.hx b/src/client/Player.hx
index 59ca11f..9ee3ead 100644
--- a/src/client/Player.hx
+++ b/src/client/Player.hx
@@ -104,6 +104,10 @@ class Player {
player.getVideoData(data, callback);
}
+ public function isRawPlayerLink(url:String):Bool {
+ return !players.exists(player -> player.isSupportedLink(url));
+ }
+
public function getIframeData(data:VideoDataRequest, callback:(data:VideoData)->Void):Void {
iframePlayer.getVideoData(data, callback);
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage