From cb55f2336385b0dbc6216d60479d8bb0d790f55c Mon Sep 17 00:00:00 2001 From: winlin Date: Sat, 21 Dec 2013 20:27:23 +0800 Subject: [PATCH] update the publish link --- trunk/research/players/srs_publisher.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/research/players/srs_publisher.html b/trunk/research/players/srs_publisher.html index 784323d7b..4d7833624 100755 --- a/trunk/research/players/srs_publisher.html +++ b/trunk/research/players/srs_publisher.html @@ -142,12 +142,13 @@ $("#txt_play_url").text(url); $("#txt_play_url").attr("href", url); + $("#txt_play_url").attr("target", "_blank"); } function on_user_publish() { if ($("#btn_publish").text() == "停止发布") { srs_publisher.stop(); $("#btn_publish").text("发布视频"); - $("#txt_play_url").text("请发布视频").attr("href", "#"); + $("#txt_play_url").text("请发布视频").attr("href", "#").attr("target", "_self"); return; }