aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Player.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2025-02-16 15:08:15 +0300
committerRblSb <msrblsb@gmail.com>2025-02-16 15:08:15 +0300
commitf267adf53fbfa8f53bb3e85c5af5e8b925ae8cdc (patch)
tree9f4c54ad46eccda8efef3062d00e2f9da8083ce0 /src/client/Player.hx
parentf085006f1da0ac431caf391e721f0ee140d1bfb8 (diff)
PeerTube support
closes #46
Diffstat (limited to 'src/client/Player.hx')
-rw-r--r--src/client/Player.hx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/Player.hx b/src/client/Player.hx
index 6be8a07..9b22748 100644
--- a/src/client/Player.hx
+++ b/src/client/Player.hx
@@ -6,6 +6,7 @@ import Types.VideoDataRequest;
import Types.VideoItem;
import client.Main.getEl;
import client.players.Iframe;
+import client.players.Peertube;
import client.players.Raw;
import client.players.Streamable;
import client.players.Vk;
@@ -30,7 +31,6 @@ class Player {
var isLoaded = false;
var skipSetTime = false;
var skipSetRate = false;
- var streamable:Streamable;
final voiceOverInput:InputElement = getEl("#voiceoverurl");
var audioTrack:Null<Audio>;
@@ -44,11 +44,11 @@ class Player {
public function new(main:Main):Void {
this.main = main;
youtube = new Youtube(main, this);
- streamable = new Streamable(main, this);
players = [
youtube,
new Vk(main, this),
- streamable,
+ new Streamable(main, this),
+ new Peertube(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