您的位置:首页 视频 明星学员明星学员——黄萱
<div id="video_container"><iframe allowfullscreen="" frameborder="0" height="675" id="iframeContent" name="iframe2" referrerpolicy="unsafe-url" sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts" src="" width="1200"></iframe></div>
<script>
    function videosrc() {
        var bvid = '7228487201368375820'; //在此修改视频bvid
        window.frames["iframe2"].location.href = 'https://www.ixigua.com/iframe/' + bvid + '?autoplay=1';
    }
    videosrc();
    //iframe 高度自适应
    function setIframeHeight(iframe) {
        iframe.onload = function() {
            iframe.width = document.all.video_container.offsetWidth;
            iframe.height = (document.all.video_container.offsetWidth) / 16 * 9;
        }
    };
    setIframeHeight(document.getElementById('iframeContent'));
</script>

Copyright © 2022-2025 北京华夏屹立国际文化艺术有限公司 All Rights Reserved. 京ICP备19002779号-1