1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Possible To Content Lock a Video Upon Playing?

Discussion in 'CPA' started by bpenn34, Jan 3, 2014.

  1. bpenn34

    bpenn34 Junior Member

    Joined:
    Mar 28, 2010
    Messages:
    104
    Likes Received:
    11
    I am trying to make a content locker pop up upon the user clicking play on a video, like 15 seconds after. I have Content Locker Pro and I host my own videos on my server I just need to find a way to do this. Can anyone help or know how to do this?
     
  2. 420lounge

    420lounge Power Member

    Joined:
    Feb 15, 2011
    Messages:
    616
    Likes Received:
    125
    timer is what you need..not sure if content lock has it
     
  3. thetvnun

    thetvnun Power Member

    Joined:
    Sep 8, 2010
    Messages:
    656
    Likes Received:
    255
    i did this with dollarade worked great.
     
  4. lmxftw

    lmxftw BANNED BANNED

    Joined:
    Mar 11, 2013
    Messages:
    1,010
    Likes Received:
    1,179
    Code:
    [COLOR=#000000]<head>[/COLOR]    
    
    <SCRIPT LANGUAGE="JavaScript">
    function Timer() {
    setTimeout('windowProp()', 10000);
    }
    function windowProp() {
    newWindow = window.open('sample.htm','newWin','width=400,height=200');
    }
    
    
    
    
    
    
    <SCRIPT LANGUAGE="JavaScript" type="text/Javascript">
    
    function popUpWindow() {
            var iMyWidth;
            var iMyHeight;
            iMyWidth = (window.screen.width/2) - (122 + 10);
            iMyHeight = (window.screen.height/2) - (27 + 50);
            var win2 = window.open("sample.htm","Window2","status,height=400,width=760,resizable=yes,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=yes,toolbar=yes");
            win2.focus();
    }
    
    
    
        
    </head>
    replace "sample.htm" with your locker URL

    also you might need a 'remove adblock' script just in case :)
     
    Last edited: Jan 3, 2014
  5. bpenn34

    bpenn34 Junior Member

    Joined:
    Mar 28, 2010
    Messages:
    104
    Likes Received:
    11
    If im using wordpress would I put that code on the page or would I have to go into the editor to put in that code?
     
  6. bpenn34

    bpenn34 Junior Member

    Joined:
    Mar 28, 2010
    Messages:
    104
    Likes Received:
    11
    also what else do I have to replace in that code to make it work?