aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Player.hx
diff options
context:
space:
mode:
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