WordPress主题商店Isle视频

我正在使用商店岛主题构建Wordpress页面。

该主题包含一个首页视频, 我正尝试将其链接到另一页。

该部分包含在div中, 并且还具有div YTPoverlay

这是我尝试过的:

<!-- Youtube player start-->
<div class="YTPOverlay">
<a href="http://www.google.com"></a>
</div>

   <div class="video-player" data-property="{videoURL:'<?php echo 
$shop_isle_yt_link; ?>', containment:'.module-video', startAt:0, mute:true, autoPlay:true, loop:true, opacity:1, showControls:false, showYTLogo:false, vol:25}"></div>

   <!-- Youtube player end -->

   <?php
echo '</div>';
endif;
echo '</section>';

我已经将其添加到CSS中:

.YTPOverlay a {
    display: block;
    width: 100%;
    height: 100%;
}

哪个没有用。

有任何想法吗?先感谢你。


#1


尝试从以下更改:

包含:”。module-video”

至:

遏制:”。YTPOverlay”

来源:

https://www.srcmini02.com/66364.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_40522.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?