实用!新冠病毒抗原自测操作方法
- 2022-12-10
- 来源:健康中国
新冠病毒抗原自测,
怎么做更规范?
看视频↓
手把手教您!
实用!新冠病毒抗原自测操作方法
-
2022-12-10
- 来源:
健康中国
-
扫一扫
添加
“穗好办”
小程序
-
扫一扫
下载“穗好办”APP
-
-
-
-
-
-
关注 · 广州政府网
实用!新冠病毒抗原自测操作方法 新冠病毒抗原自测,怎么做更规范?看视频↓手把手教您!
window.__styleInject__ = window.__styleInject__ || function (css) {
if (!css) return;
if (typeof (window) == 'undefined') return;
var style = document.createElement('style');
if ('styleSheet' in style) {
style = document.createElement('div');
style.innerHTML = 'x' + css + '';
style = style.lastChild;
} else {
style.innerHTML = css;
}
var head = document.getElementsByTagName('head')[0];
head.appendChild(style);
return css;
};
window.__resetPlayerOpt__ = window.__resetPlayerOpt__ || function (opt) {
opt.width = opt.width ? (opt.width + '') : '100%';
opt.height = opt.height ? (opt.height + '') : '300px';
if (opt.width.indexOf('%') === -1 && opt.width.indexOf('px') === -1) {
opt.width = opt.width + 'px';
}
if (opt.height.indexOf('%') === -1 && opt.height.indexOf('px') === -1) {
opt.height = opt.height + 'px';
}
if (!!window.navigator.userAgent.match(/AppleWebKit.*Mobile.*/)) {
if (opt.custom_priority) {
if (opt.width && typeof opt.width === 'string' && opt.width.indexOf('%') > -1) {
window.__styleInject__('div#' + opt.id + '.prism-player.video.nfw-cms-video { width: ' + opt.width + ' !important; height: ' + opt.height + ' !important; }');
} else {
var __pdom = document.getElementById(opt.id);
var pwidth = __pdom.parentElement.offsetWidth || document.body.offsetWidth;
opt.height = window.parseInt(opt.height) / window.parseInt(opt.width) * pwidth + 'px';
opt.width = '100%';
window.__styleInject__('div#' + opt.id + '.prism-player.video.nfw-cms-video { width: ' + opt.width + ' !important; height: ' + opt.height + ' !important; }');
}
} else {
opt.width = '100%';
}
} else {
if (opt.custom_priority) {
window.__styleInject__('div#' + opt.id + '.prism-player.video.nfw-cms-video { width: ' + opt.width + ' !important; height: ' + opt.height + ' !important; }');
}
}
return opt;
};
window.__cms_video_player_instances__ = window.__cms_video_player_instances__ || [];
window.__cms_viedo_player_opts__ = window.__cms_viedo_player_opts__ || [];
var playerOpt = {"id":"video_59136261749260584","source":"{\"LD\":\"https:\\\/\\\/gdvideo.southcn.com\\\/2aa73edb3ec54f71a74c53ea13407005\\\/2b8fa557a2254a06ba2a1bfcaa84771a-ec87a7891857a6d9d3452a42478bf5d5-ld.mp4\",\"SD\":\"https:\\\/\\\/gdvideo.southcn.com\\\/2aa73edb3ec54f71a74c53ea13407005\\\/2b8fa557a2254a06ba2a1bfcaa84771a-a9e32c1e7ac9a3e484650e5deaadd9db-sd.mp4\"}","qualitySort":"asc","format":"mp4","mediaType":"video","cover":"https:\/\/www.gz.gov.cn\/video\/0\/8\/8782\/8704875_55f197.png","autoplay":false,"isLive":false,"rePlay":false,"playsinline":true,"preload":false,"language":"zh-cn","controlBarVisibility":"hover","useH5Prism":true,"custom_priority":false,"height":"300px","width":"100%","custom_height":"0px","custom_width":"0px"};
playerOpt = window.__resetPlayerOpt__(playerOpt);
if (!window.addEventListener) {
playerOpt.useFlashPrism = true;
} else {
playerOpt.useH5Prism = true;
playerOpt.cover = "https://www.gz.gov.cn/video/0/8/8782/8704875_55f197.png";
}
window.__cms_video_player_instances__.push(new Aliplayer(playerOpt));
window.__cms_viedo_player_opts__.push(playerOpt);
新冠病毒抗原自测,怎么做更规范?看视频↓手把手教您!
...