diff options
| author | RblSb <msrblsb@gmail.com> | 2020-05-01 10:11:40 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2020-05-01 10:11:40 +0300 |
| commit | 104d4edeb5c0874412b0e91d0cb3c768995a0ce1 (patch) | |
| tree | 36c7b72976305a682a8f4e8b96d58a64b130e54f /src/client/Player.hx | |
| parent | 7408555ad16b5d0e380d1d90eb62e64eb14987f1 (diff) | |
Support youtube streams
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 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]; |
