OdyseeTeam / odysee-frontend

The code that runs odysee.com
https://odysee.com
MIT License
210 stars 66 forks source link

Paid content next steps #1906

Closed tzarebczan closed 1 year ago

tzarebczan commented 2 years ago

You can now pass type, claim_id_filter (claim id originally pre ordered), or reference claim id. This will search both the original claim and the purchase after preorder.

Clicking the play button will result in the backend get call validating the purchase and retuning a signed url. Nothing special should need to be done there, but we should setup something to read error messages in the case that authorization failed or video is expired (rental).

We will also support rentals sometime in August, these will be similar to purchase but the tag will be rental:xx.xx:.

Don't worry about rentals for now, but they would work similar to above but we'd show rental details. List call returns expiration time, can show how much time is left if someone purchased it. The tip call would include type: rental and validity_seconds in seconds. A claim may have both purchase and rental tags, show both options.

Others:

Sample claims: https://odysee.com/@gifprofile:7 (use stashu or salt for test stripe).

mayeaux commented 2 years ago

Next items:

infinite-persistence commented 2 years ago