如何解决仅在嵌入视频 <iframe> 上插入广告块
大家好,如果有人可以帮助我,我有一些问题。我只想在嵌入的视频上安装广告块。有人可以帮忙,我会很感激
这是我想安装广告块的地方
<?PHP endif; ?>
<?PHP if($file_source=='embed'): ?>
<!-- play from embed url -->
<style type="text/css">
.video-embed-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px; height: 0; overflow: hidden;
}
.video-embed-container iframe,.video-embed-container object,.video-embed-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
<div class="video-embed-container"><iframe class="responsive-embed-item" src="<?PHP echo $file_url; ?>" frameborder="0" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe></div>
<?PHP endif; ?>
<?PHP else: ?>
我用 CSS 尝试了一些我在这里找到的东西,但没有结果 感谢您的支持
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。