Before posting, make sure scripts are installed correctly as shown in the documentation. There are example folders in the downloads that show a proper installation.
Using indicator as rating result?
  • Hey all, loving this rating system.

    I'm using this on a video website, and each star will have an indicator just like the old youtube - poor, pretty good, great and so on.

    Is it possible to display these values as the rating result you see under the stars? So for example is says. "This video was rated 'Poor' out of 33 votes."

    The code is:

    new Starbox('demo_15', 3, { rated: 2, overlay: 'big.png', indicator: 'This video was rated: #{average}/#{max} out of #{total} votes', total: 2 });

    I'm thinking it's the part "#{average}/#{max}" that has to be changed, but I could use some help for the code!

    Thank you in advance :)

    Michael.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Twitter