-
Notifications
You must be signed in to change notification settings - Fork 1
How to: Support Content Voting
rrirower edited this page Feb 25, 2024
·
3 revisions
Content voting adds a "Like/Dislike" button to the Details screen. Clicking the button will allow the viewer to cast a "Like" or "Dislike" vote for your content. The vote is sent to your back-end server via a Rest API call so that you can record viewer feedback. The vote is also saved in the local registry in the section titled 'ContentVotingDB'.
Content voting is also available from the Episodes screens by clicking the options button ('*'). The vote is recorded for the selected Episode.
To take advantage of this feature,
- Enable the CONTENT_VOTING manifest attribute.
- Edit the ContentVotingTask.brs file and change the value of the 'EndpointUrl' variable to point to the URL of your back-end server that will process the content vote. You MUST change this value.
Sample API call for testing: