diff options
| author | RblSb <msrblsb@gmail.com> | 2020-02-22 06:35:57 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2020-02-22 06:35:57 +0300 |
| commit | 08d068181045f91f0aa160f9b088a18048b948ec (patch) | |
| tree | a995230c279a5a1fd849dc5202301d15474bca61 /src/client/Player.hx | |
| parent | 4e0859a0f902e84cfafb38103e0be9f5b81d7abe (diff) | |
More client buttons
Diffstat (limited to 'src/client/Player.hx')
| -rw-r--r-- | src/client/Player.hx | 2 |
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 { |
