aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/players/Raw.hx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/players/Raw.hx')
-rw-r--r--src/client/players/Raw.hx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/players/Raw.hx b/src/client/players/Raw.hx
index 10a54e8..e3337ae 100644
--- a/src/client/players/Raw.hx
+++ b/src/client/players/Raw.hx
@@ -4,7 +4,7 @@ import Types.PlayerType;
import Types.VideoData;
import Types.VideoDataRequest;
import Types.VideoItem;
-import client.Main.ge;
+import client.Main.getEl;
import haxe.Timer;
import js.Browser.document;
import js.Browser;
@@ -17,9 +17,9 @@ import js.html.VideoElement;
class Raw implements IPlayer {
final main:Main;
final player:Player;
- final playerEl:Element = ge("#ytapiplayer");
- final titleInput:InputElement = cast ge("#mediatitle");
- final subsInput:InputElement = cast ge("#subsurl");
+ final playerEl:Element = getEl("#ytapiplayer");
+ final titleInput:InputElement = getEl("#mediatitle");
+ final subsInput:InputElement = getEl("#subsurl");
final matchName = ~/^(.+)\.(.+)/;
var controlsHider:Timer;
var playAllowed = true;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage