Auto stop after x minutes + popup
I need something what can stop watching stream video for all user at x minute of video (ex. 30) and then show popup (with text or img) inside player (the latter optionally). And video should be still locked after page refresh. Is it possible? I need it, because I want to sell premium accounts for this users who wants to view stream video without limits. I want to make money on my content. Script can block all wideos on my site for this user. And is it possible to auto unlock after 2h ?
Thanks in advance, and sorry for Englisch. :)