From 7ee893a287c8992196b0b5f51124074fa7c47f4f Mon Sep 17 00:00:00 2001 From: RblSb Date: Fri, 2 Aug 2024 06:25:45 +0300 Subject: Streamable support closes #49 --- src/client/Player.hx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/client/Player.hx') 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); -- cgit v1.2.3