aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Player.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2020-02-22 06:35:57 +0300
committerRblSb <msrblsb@gmail.com>2020-02-22 06:35:57 +0300
commit08d068181045f91f0aa160f9b088a18048b948ec (patch)
treea995230c279a5a1fd849dc5202301d15474bca61 /src/client/Player.hx
parent4e0859a0f902e84cfafb38103e0be9f5b81d7abe (diff)
More client buttons
Diffstat (limited to 'src/client/Player.hx')
-rw-r--r--src/client/Player.hx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/Player.hx b/src/client/Player.hx
index efdb71a..19e0c84 100644
--- a/src/client/Player.hx
+++ b/src/client/Player.hx
@@ -66,6 +66,7 @@ class Player {
}
player.innerHTML = "";
player.appendChild(video);
+ ge("#currenttitle").innerHTML = item.title;
}
public function addVideoItem(item:VideoItem):Void {
@@ -108,6 +109,7 @@ class Player {
public function removeVideo():Void {
player.removeChild(video);
video = null;
+ ge("#currenttitle").innerHTML = Lang.get("nothingPlaying");
}
public function removeItem(url:String):Void {
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage