From be511b33440993caed3e643256cc82a7df3702bf Mon Sep 17 00:00:00 2001 From: liuboaibc Date: Tue, 1 Dec 2020 16:49:11 +0800 Subject: [PATCH] fix video Signed-off-by: liuboaibc --- layouts/live/list.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/live/list.html b/layouts/live/list.html index bda506674..fdf15a028 100644 --- a/layouts/live/list.html +++ b/layouts/live/list.html @@ -162,13 +162,13 @@ var showIframe = function(link) { $('#modal-for-video video').hide() - $('#modal-for-video iframe').attr({src: link}) + $('#modal-for-video iframe').show().attr({src: link}) $('#modal-for-video').modal() } var showVideo = function(link) { $('#modal-for-video iframe').hide() - $('#modal-for-video video').attr({src: link}) + $('#modal-for-video video').show().attr({src: link}) $('#modal-for-video').modal() }