mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 03:41:55 +00:00
update the publish link
This commit is contained in:
parent
b114fd35c5
commit
cb55f23363
1 changed files with 2 additions and 1 deletions
|
@ -142,12 +142,13 @@
|
||||||
|
|
||||||
$("#txt_play_url").text(url);
|
$("#txt_play_url").text(url);
|
||||||
$("#txt_play_url").attr("href", url);
|
$("#txt_play_url").attr("href", url);
|
||||||
|
$("#txt_play_url").attr("target", "_blank");
|
||||||
}
|
}
|
||||||
function on_user_publish() {
|
function on_user_publish() {
|
||||||
if ($("#btn_publish").text() == "停止发布") {
|
if ($("#btn_publish").text() == "停止发布") {
|
||||||
srs_publisher.stop();
|
srs_publisher.stop();
|
||||||
$("#btn_publish").text("发布视频");
|
$("#btn_publish").text("发布视频");
|
||||||
$("#txt_play_url").text("请发布视频").attr("href", "#");
|
$("#txt_play_url").text("请发布视频").attr("href", "#").attr("target", "_self");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue