Block all ads in iframe

Everything about using Adblock Plus on Google Chrome
Post Reply
klaud1u
Posts: 1
Joined: Sun May 23, 2021 8:58 pm

Block all ads in iframe

Post by klaud1u »

If anyone help to block all ads in a iframe
I search for some solution here but i dont manage to make it work

Code: Select all

 <?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: ?>
Tnx for your support
Post Reply