aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Player.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2020-03-04 04:08:22 +0300
committerRblSb <msrblsb@gmail.com>2020-03-04 04:08:22 +0300
commit4155b95cce55e1176aecb1531b9c06344a2e81b5 (patch)
tree102a7693adebde04b9c5a6529753038c8f27c510 /src/client/Player.hx
parentdc83e4842f7bb6f8899872c9693ea6170f0b1724 (diff)
Improve iframe handling
Diffstat (limited to 'src/client/Player.hx')
-rw-r--r--src/client/Player.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Player.hx b/src/client/Player.hx
index 7088580..4f1ecf6 100644
--- a/src/client/Player.hx
+++ b/src/client/Player.hx
@@ -293,7 +293,7 @@ class Player {
}
public function hasVideo():Bool {
- return player != null;
+ return playerEl.children.length != 0;
}
public function play():Void {
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage