govt.chinadaily.com.cn

China Life Tips: 240-hour visa-free transit policy

视频代码

<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/607509/f225724b-c420-4680-a1cd-8db37014908e/ab246507-c07a-40a0-8595-60f38ff9692d_h.m3u8&amp;p=//govt.chinadaily.com.cn/images/202503/21/67dd0c5a498eec7e132a0a2f.jpeg&amp;l=zh-cn&amp;c=645b3cf8498ea274927ba014&amp;s=WS67dd0c5a498eec7e1f73273f&amp;d=20250321145105&amp;t=China+Life+Tips%3A+240-hour+visa-free+transit+policy"></iframe>

尺寸调整

视频尺寸

如果发现页面上视频尺寸不对,或者手机端视频间距过大,则需要让技术老师将以下js代码放到文章模板脚本中。

$(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(); }); });

Copyright©2025 China Daily. All rights reserved.

京ICP备13028878号-6

京公网安 京公网安备 11010502032503号

站长统计