aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Player.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2024-08-02 06:25:45 +0300
committerRblSb <msrblsb@gmail.com>2024-08-02 06:25:45 +0300
commit7ee893a287c8992196b0b5f51124074fa7c47f4f (patch)
treeec32c22b059727ecdd6b909870f97da12aceb097 /src/client/Player.hx
parent4df711e1568fedcccb45cd86737d89be6a02e7ad (diff)
Streamable support
closes #49
Diffstat (limited to 'src/client/Player.hx')
-rw-r--r--src/client/Player.hx7
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);
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage