diff options
| author | RblSb <msrblsb@gmail.com> | 2020-02-29 14:01:12 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2020-02-29 14:01:12 +0300 |
| commit | 2ade04273717807096a07b6eb132b7677917392d (patch) | |
| tree | 1598ad62bcb1f3c42b37edb7383df2704005bee5 /src/client/IPlayer.hx | |
| parent | ec7e4b5ad120828f1464cf4186287d4928b462a8 (diff) | |
Get youtube video title/duration with api
Diffstat (limited to 'src/client/IPlayer.hx')
| -rw-r--r-- | src/client/IPlayer.hx | 3 |
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; |
