<iframe style="width: 800px; height: 450px;" id="playerFrame" scrolling="no" frameborder="0" allowfullscreen="true" src="//govt-hls.chinadaily.com.cn/player/player.html?src=//govt-hls.chinadaily.com.cn/stream/607221/267044fb-f84d-40ca-bde9-6c600154fc77/33878d24-680b-475d-907b-c785645b3422_h.m3u8&p=//govt.chinadaily.com.cn/images/202407/18/6698d424498ed2d78b417fc6.jpeg&l=zh-cn&c=645b3cf8498ea274927ba014&s=WS6698d424498ed2d7b7eb3692&d=20240718163652&t=6-%E5%BD%AD%E4%B8%BD%E5%AA%9B%E5%90%8C%E5%87%BA%E5%B8%AD%E7%AC%AC%E4%B8%89%E5%B1%8A%E2%80%9C%E4%B8%80%E5%B8%A6%E4%B8%80%E8%B7%AF%E2%80%9D%E5%9B%BD%E9%99%85%E5%90%88%E4%BD%9C%E9%AB%98%E5%B3%B0%E8%AE%BA%E5%9D%9B%E5%A4%96%E6%96%B9%E9%A2%86%E5%AF%BC%E4%BA%BA%E5%A4%AB%E4%BA%BA%E5%8F%82%E8%A7%82%E4%B8%AD%E5%9B%BD%E5%B7%A5%E8%89%BA%E7%BE%8E%E6%9C%AF%E9%A6%86"></iframe>
$(function () {
setFrameHeight();
function setFrameHeight() {
if ($("iframe#playerFrame").length > 0) {
$("iframe#playerFrame").css(
"height",
$("iframe#playerFrame")
.css("width")
.substring(0, $("iframe#playerFrame").css("width").length - 2) *
0.5625 +
"px"
);
}
}
$(window).resize(function () {
setFrameHeight();
});
});