mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine http server pages. change to 0.9.51
This commit is contained in:
parent
1c02f4551c
commit
4e3fe36ae2
24 changed files with 307 additions and 96 deletions
14
trunk/research/players/nginx_index.html
Executable file → Normal file
14
trunk/research/players/nginx_index.html
Executable file → Normal file
|
@ -3,19 +3,11 @@
|
|||
<head>
|
||||
<title>SRS</title>
|
||||
<meta charset="utf-8">
|
||||
<script type="text/javascript" src="players/js/jquery-1.10.2.min.js"></script>
|
||||
<script type="text/javascript" src="players/js/srs.page.js"></script>
|
||||
<script type="text/javascript" src="players/js/srs.utility.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
var query = parse_query_string();
|
||||
var url = window.location.protocol + "//" + query.hostname + ":" + srs_get_api_server_port() + "/index.html" + window.location.search;
|
||||
document.write("请确认api-server已经开启,跳转到api-server的页面(解决IE跨域问题)<br/>");
|
||||
document.write("正在跳转,若您的浏览器没有跳转,请点击: <a href='" + url + "'>" + url + "</a>");
|
||||
|
||||
setTimeout(function(){
|
||||
window.location.href = url;
|
||||
}, 3000);
|
||||
window.location.href = "players/index.html" + window.location.search;
|
||||
}, 500);
|
||||
</script>
|
||||
</body>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue