aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Player.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2020-05-01 10:11:40 +0300
committerRblSb <msrblsb@gmail.com>2020-05-01 10:11:40 +0300
commit104d4edeb5c0874412b0e91d0cb3c768995a0ce1 (patch)
tree36c7b72976305a682a8f4e8b96d58a64b130e54f /src/client/Player.hx
parent7408555ad16b5d0e380d1d90eb62e64eb14987f1 (diff)
Support youtube streams
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 28b5c09..5c283f7 100644
--- a/src/client/Player.hx
+++ b/src/client/Player.hx
@@ -101,6 +101,10 @@ class Player {
player.getVideoData(url, callback);
}
+ public function getIframeData(iframe:String, callback:(data:VideoData)->Void):Void {
+ iframePlayer.getVideoData(iframe, callback);
+ }
+
public function setVideo(i:Int):Void {
if (!main.isSyncActive) return;
final item = items[i];
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage