Help with Content Locker

tushar2223

Registered Member
Joined
Aug 3, 2013
Messages
95
Reaction score
14
I am noob to IM.& now I'm working on movie niche.So, I wants to know that,
Is it possible to display CL after the user play video & after 5-10 min. he will get a box saying that "complete offer to access full movie"

Is there any code to do this?????????
 
Yes, i can code something unique for you.
Pm me if you are interested, op. :)
 
This can be used by installing jwplayer


Modify this by your needs:


src="/xxxxxx/jwplayer.js // source where you uploaded jwplayer.js


stream-link // your youtube video, mp4 link, rmtp stream etc..


if (event.position >= 20) // how much seconds must be played so CL will be called


gLoad_xxxx(); // this is content locker - you should put your code here (this is from AWM)


<script src="/xxxxxx/jwplayer.js" type="text/javascript"></script>
<div id="container"></div>




<script type="text/javascript">
jwplayer("container").setup({
file: "stream-link",
height: 385,
width: 640,
events:{
onTime: function(event) {
if (event.position >= 20)
this.pause();
gLoad_xxxx();
}
}
}
});
</script>
 
Back
Top