diff options
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 { |
