Forums / Extensions / eZ Flow / "Pay per view" in Ez-flow

"Pay per view" in Ez-flow

Author Message

Peter Scott

Tuesday 22 April 2008 8:17:41 pm

This is mentioned in a number of places but I can not find any detail of how to do this.
1. Is there anyone that has set this up?
2. Subscription access is another requirement. Can see how I could do this by permissions set on member areas but need to automate the suscription as though it is a product and the customer simply chooses their desired level and/or time of subscription and the period of subscription is handled by the system. Any suggestions?

Maxime Thomas

Tuesday 22 April 2008 11:34:46 pm

I have already done that but it was a specific development.
:-/
And I don't know if it is a feature of eZP.

Maxime Thomas
[email protected] | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

Piotrek Karaƛ

Wednesday 23 April 2008 12:16:01 am

Maxime,

Would it be possible for you to share some details of the implementation? General things - is that for eZ Flow only or for eZ content in general? Did you use some dynamic role assignments or some other, dedicated method? That would be great.

Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Peter Scott

Wednesday 23 April 2008 12:32:20 am

Thanks Maxime, have the red5 part of your blog working to the same point that you have and was looking for the next step to stream the content that is currently being recorded to the website.

Maxime Thomas

Wednesday 23 April 2008 12:25:36 pm

Hi Piotrek,

It was a specific development for eZ 3.8.x as far as I remember.
We have implemented a custom table in which we put an authentication key and a user id when the user has bought the movie.
Then, the movie appeared in his list of movie available and if clicked, he can watch it.
If he tried to access it directly, he gets an error message and we redirect him to a know page, homepage.

To be sure that the movie has been watched by an authorized customer, we implemented a kind of client / server service :
- all links for videos were at video.server/auth.php?file=id&key=key&userid=userid
- the server checked the key and the userid in
- the server then responded by sending the file or false.

In the template, client side, we have implemented an operator which gets the key of the video the customer would like to watch and generate the right url.

As it was in a custom module, we implemented some classic "Functions" policies.

That's all.

If you would like to make a pay per view mecanism you just have to remove the key from the custom table.

Easy ?

Maxime Thomas
[email protected] | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas