diff options
| author | RblSb <msrblsb@gmail.com> | 2024-08-02 06:25:45 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2024-08-02 06:25:45 +0300 |
| commit | 7ee893a287c8992196b0b5f51124074fa7c47f4f (patch) | |
| tree | ec32c22b059727ecdd6b909870f97da12aceb097 /src/client/Player.hx | |
| parent | 4df711e1568fedcccb45cd86737d89be6a02e7ad (diff) | |
Streamable support
closes #49
Diffstat (limited to 'src/client/Player.hx')
| -rw-r--r-- | src/client/Player.hx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/client/Player.hx b/src/client/Player.hx index c250a34..bc64053 100644 --- a/src/client/Player.hx +++ b/src/client/Player.hx @@ -6,14 +6,12 @@ import Types.VideoItem; import client.Main.ge; import client.players.Iframe; import client.players.Raw; +import client.players.Streamable; import client.players.Youtube; import haxe.Http; import haxe.Json; import js.html.Element; -using Lambda; -using StringTools; - class Player { final main:Main; final youtube:Youtube; @@ -32,7 +30,8 @@ class Player { this.main = main; youtube = new Youtube(main, this); players = [ - youtube + youtube, + new Streamable(main, this) ]; iframePlayer = new Iframe(main, this); rawPlayer = new Raw(main, this); |
