Authored by 陈轩

fix

... ... @@ -263,9 +263,9 @@ $(document).ready(function() {
if (is_wechat || is_weibo) {
if (is_redirect == undefined) {
if (location.indexOf('?') > 0) { //在微信中或微博等app中地址栏上加上redirect参数,方便在浏览器中打开时跳转到app
document.location.href = location + '&redirect=true';
// document.location.href = location + '&redirect=true';
} else {
document.location.href = location + '?redirect=true';
// document.location.href = location + '?redirect=true';
}
}
} else {
... ...
... ... @@ -150,7 +150,7 @@ function init_play_button() {
$('#' + video_id)[0].play();
} else {
//alert('click');
//video.pause();
// video.pause();
$('#live_touch_layer').hide();
$('#' + video_id)[0].play();
... ... @@ -548,9 +548,9 @@ function insert_msg(obj) {
} else {
obj.avatar = obj.avatar.replace(/(\{width}|\{height}|\{mode})/g, function($0) {
const dict = {
'{width}': width,
'{height}': height,
'{mode}': mode || 2
'{width}': 50,
'{height}': 50,
'{mode}': 2
};
return dict[$0];
... ...