[ Video Sharing CMS v4 ] I need this

Started by maldboy,

Previous topic - Next topic

0 Members and 5 Guests are viewing this topic.

maldboyTopic starter

hi.have anyone adblock detecter? something like the atachment below
  •  

Marius P.

I assume that's a jwplayer plugin.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

maldboyTopic starter

Quote from: @Mario on
I assume that's a jwplayer plugin.
where i can finde this? or to buy it.i need it however
  •  

Marius P.

Quote from: maldboy on
where i can finde this? or to buy it.i need it however

Search maybe http://lmgtfy.com/?q=jwplayer+adblocker ?
We don't have all the answers, jwplayer is not our product.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

CiMBoM19055

i will add blocker, can any body show me how to install ad bloadker on phpvibe.
  •  

Marius P.

The jwplayer embed code is in lib/class.providers.php , just modify the embed code as the documentation of that plugin shows.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

maldboyTopic starter

Quote from: CiMBoM19055 on
i will add blocker, can any body show me how to install ad bloadker on phpvibe.
have you make this on your site?
  •  

CiMBoM19055

No, somebody should explain it step by step

Quote from: maldboy on
have you make this on your site?
  •  

Marius P.

Yes, that plugin's documentation, PHPVibe only holds the basic embed code for jwplayer, I can't guess the documentation of that plugin.
You want me to explain something I've never did?
Show me the documentation, I can have a look tomorrow and guide you.

This is all PHPVibe has with jwplayer:


public function _jwplayer6 ($file,$thumb, $logo = null, $type=null) {
     global $video;
    
     $embed = '<div id="video-setup" class="full">' . _lang("Loading the player...") . '<>';
              $embed .= ' <script type="text/javascript">
         
      jwplayer("video-setup").setup({ primary : "html5",  file: "' . $file . '",  image: "' . $thumb . '", modes: [
        { type: "html5" },
        { type: "flash", src: "' . site_url() . 'lib/players/jwplayer/player.swf" }
    ], stretching: "uniform",  height: ' . $this->height . ',   repeat: "always",     width: "100%"';
if($type) {   $embed .= ', type: "' . strtolower($type) . '" '; }
if($logo && !nullval($logo)) {     $embed .= ',   logo: {         file: "'.$logo.'",  position: "bottom-left",  link: "'.site_url().'"    }'; }
              $embed .= '  }); </script>';        
        
           return $embed._ad('1');
     }
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

CiMBoM19055

  •  

Marius P.

Quote from: CiMBoM19055 on
do jou mean this http://detect-ad-blocking-software.webconrad.com/

But this needs div id for all ads containers, and to manually edit the js code to your divs. It's not a jwplayer plugin, what you've showed me was a jwplayer plugin (in that picture)
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

CiMBoM19055

#11
can you not do this for all ads in the page. not only for player.


and check this ?

https://github.com/sitexw/FuckAdBlock
  •  

Marius P.

I'll look.
But this are more of how you wish to use them.
Like create an overlay div over the site and add an text, or something...just like "disable adblock to view this site".
But, as I know this things give many false-positives, so you may block access to many visitors which have no adblocker...I don't really see any practical point in using this, it will cause much more damage...just my two cents.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

CiMBoM19055

where you just need to advertise the adblock off. Indeed, there is an entire screen in the page but that is no problem.
  •  

CiMBoM19055

i have search for jwplayer adblock blocker plugin only cant fint it.
  •  

Marius P.

Then the code example is enough from this:

You just do an
function adBlockDetected() {
$( "#video-content" ).empty();
$( "#video-content" ).text("Please disable adblocker to view this video");
}
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

CiMBoM19055

where should I paste this code?

Quote from: @Mario on
Then the code example is enough from this:

You just do an
function adBlockDetected() {
$( "#video-content" ).empty();
$( "#video-content" ).text("Please disable adblocker to view this video");
}

  •  

CiMBoM19055

  •  

Marius P.

Any js file you desire? or header/footer ?
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

CiMBoM19055

  •  

Similar topics (7)