1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Upgrade players. 3.0.161

This commit is contained in:
winlin 2021-04-28 15:17:10 +08:00
parent cf6fa98e36
commit 9d9d81ef17
29 changed files with 8325 additions and 1453 deletions

View file

@ -20,16 +20,19 @@
update_nav();
var query = parse_query_string();
var url = "srs_player.html?vhost=" + srs_get_player_vhost();
var params = [];
for (var key in query.user_query) {
if (key == "vhost") {
continue;
}
url += "&" + key + "=" + query[key];
params.push(key + "=" + query[key]);
}
window.location.href = url;
var url = "srs_player.html";
if (params.length) {
url += '?' + params.join('&');
}
setTimeout(function () {
window.location.href = url;
}, 0);
});
</script>
</head>