aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/IPlayer.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2020-02-29 14:01:12 +0300
committerRblSb <msrblsb@gmail.com>2020-02-29 14:01:12 +0300
commit2ade04273717807096a07b6eb132b7677917392d (patch)
tree1598ad62bcb1f3c42b37edb7383df2704005bee5 /src/client/IPlayer.hx
parentec7e4b5ad120828f1464cf4186287d4928b462a8 (diff)
Get youtube video title/duration with api
Diffstat (limited to 'src/client/IPlayer.hx')
-rw-r--r--src/client/IPlayer.hx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/IPlayer.hx b/src/client/IPlayer.hx
index a20b22b..4f29512 100644
--- a/src/client/IPlayer.hx
+++ b/src/client/IPlayer.hx
@@ -1,9 +1,10 @@
package client;
+import Types.VideoData;
import Types.VideoItem;
interface IPlayer {
- function getRemoteDuration(url:String, callback:(duration:Float)->Void):Void;
+ function getVideoData(url:String, callback:(data:VideoData)->Void):Void;
function loadVideo(item:VideoItem):Void;
function removeVideo():Void;
function play():Void;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage