diff options
| author | RblSb <msrblsb@gmail.com> | 2021-01-24 13:12:58 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2021-01-24 13:12:58 +0300 |
| commit | 35beab11cdccf09dc77917a795b033314e62a5b1 (patch) | |
| tree | 23134d53f46ac678742f7fc4095b66dd68010617 /src/client/Player.hx | |
| parent | 3444b413ab12783c85ce73df9931142fea11b749 (diff) | |
Video title input
Diffstat (limited to 'src/client/Player.hx')
| -rw-r--r-- | src/client/Player.hx | 4 |
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); } |
