3 Replies - 233 Views - Last Post: 25 May 2012 - 04:16 AM

#1 rotem30010  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 25-May 12

selling video watching permission

Posted 25 May 2012 - 03:56 AM

hello people,

programming question: how do i develope/embed a mechanism for selling a 24 hours video watching permission on a shop site? i can't find a tutorial on this subject.



thanks in advance.
Is This A Good Question/Topic? 0
  • +

Replies To: selling video watching permission

#2 Dormilich  Icon User is online

  • 痛覚残留
  • member icon

Reputation: 3486
  • View blog
  • Posts: 10,055
  • Joined: 08-June 10

Re: selling video watching permission

Posted 25 May 2012 - 04:08 AM

this video will probably be linked through some kind of ID. put that ID on your whitelist for 24 h. (then either delete or blacklist it) in case your whitelist is save in a DB, give it an expiry-date.
Was This Post Helpful? 0
  • +
  • -

#3 rotem30010  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 25-May 12

Re: selling video watching permission

Posted 25 May 2012 - 04:13 AM

View PostDormilich, on 25 May 2012 - 04:08 AM, said:

this video will probably be linked through some kind of ID. put that ID on your whitelist for 24 h. (then either delete or blacklist it) in case your whitelist is save in a DB, give it an expiry-date.


ok, thanks.

and how do i enable\disable the video streaming? is it via the tags of the video?

i just never programmed anything that involved video.
Was This Post Helpful? 0
  • +
  • -

#4 Dormilich  Icon User is online

  • 痛覚残留
  • member icon

Reputation: 3486
  • View blog
  • Posts: 10,055
  • Joined: 08-June 10

Re: selling video watching permission

Posted 25 May 2012 - 04:16 AM

do it via the HTML. the appropriate video is only loaded with the right ID. say, if you show the videos through the script watch.php?video_id=abc all you need to do is validate video_id. though that does not necessarily prevent the user from downloading the video.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1