From 752c2dad8e908344aa1c735802d234ed7f3e3e51 Mon Sep 17 00:00:00 2001 From: RblSb Date: Fri, 22 May 2020 19:20:45 +0300 Subject: Improve raw video remove --- res/client.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'res') diff --git a/res/client.js b/res/client.js index 787dcf6..e469a33 100644 --- a/res/client.js +++ b/res/client.js @@ -1,4 +1,4 @@ -// Generated by Haxe 4.1.0 +// Generated by Haxe 4.1.1 (function ($hx_exports, $global) { "use strict"; $hx_exports["client"] = $hx_exports["client"] || {}; $hx_exports["client"]["JsApi"] = $hx_exports["client"]["JsApi"] || {}; @@ -2308,6 +2308,9 @@ client_players_Raw.prototype = { if(this.video == null) { return; } + this.video.pause(); + this.video.removeAttribute("src"); + this.video.load(); this.playerEl.removeChild(this.video); this.video = null; } -- cgit v1.2.3