Php 仅在嵌入视频上插入adblock<;iframe>;
大家好,我有一些问题,如果有人能帮助我。我只想在嵌入视频上安装adblock。我可以请人帮忙,我会很感激的 这是我要安装adblock的地方Php 仅在嵌入视频上插入adblock<;iframe>;,php,video-streaming,embed,adblock,Php,Video Streaming,Embed,Adblock,大家好,我有一些问题,如果有人能帮助我。我只想在嵌入视频上安装adblock。我可以请人帮忙,我会很感激的 这是我要安装adblock的地方 <?php endif; ?> <?php if($file_source=='embed'): ?> <!-- play from embed url --> <style type="text/css">
<?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: ?>
.视频嵌入容器{
位置:相对位置;
垫底:56.25%;
填充顶部:30px;高度:0;溢出:隐藏;
}
.视频嵌入容器iframe,
.视频嵌入容器对象,
.视频嵌入容器嵌入{
位置:绝对位置;
排名:0;
左:0;
宽度:100%;
身高:100%;
}