How do you enable Rating?

4 replies [Last post]
Joined: 08/06/2009
Points: 45

How do you control/modify the Rating of the kaltura entry? I noticed that all kaltura entries have a "Rating" field.

Is there a rating function on the video player that I'm missing? Or is that something I can add through drupal(in my case)?

Joined: 08/17/2009
Points: 3

I just asked the same question in the IRC channel... Here's what Kalturian communicated to me:

[10:27] <@Kalturian> Hi guys, there's an API for this.
[10:28] <@Kalturian> You can also have rating module added to the KDP you use (need to edit your uiConf for that)
[10:28] <@Kalturian> see this for example: http://www.dilbert.com/animation/
[10:32] <@Kalturian> <Module height="20" width="100" id="starsRatings" k_path="addons/KdpSwfWrapper.swf"
[10:32] <@Kalturian>                                    k_swf_url="http://www.kaltura.com/content/uiconf/dilbert/kdp_v2.5.6.1/KalturaStarsComponent.swf" />
[10:33] <@Kalturian> <Module height="20" width="100" id="starsRatings" k_path="addons/KdpSwfWrapper.swf" k_swf_url="http://www.kaltura.com/content/uiconf/dilbert/kdp_v2.5.6.1/KalturaStarsComponent.swf" />

I have very limited understand of what this actually means, so I'm probably not going to be much of a help past this point.

Hope this helps. Good luck. :)

Joined: 08/17/2009
Points: 3

lil update:

[10:55] <@Kalturian> The Star Rating is not on the KMC, it's not yet public.
[10:55] <@Kalturian> I usggest you download the plugin and refer to your site.
Joined: 08/17/2009
Points: 3

And one more...

[11:18] <@Kalturian> just download the http://www.kaltura.com/content/uiconf/dilbert/kdp_v2.5.6.1/KalturaStarsComponent.swf
[11:19] <@Kalturian> and add the line to your uiConf using uiConf.update API
Joined: 08/06/2009
Points: 45

Awesome!

So I downloaded the KalturaStarsComponent.swf from http://www.kaltura.com/content/uiconf/dilbert/kdp_v2.5.6.1/KalturaStarsComponent.swf to my kalturaCE/flash/kdp/v2.5.2.30923/kdpmodules/addons/ folder and added

<Module height="20" width="100" id="starsRatings" k_path="addons/KdpSwfWrapper.swf" k_swf_url="http://www.example.com/kalturaCE/flash/kdp/v2.5.2.30923/kdpmodules/addons/KalturaStarsComponent.swf" />

to my ui_conf.xml

Everything looks good, except when I try to vote. Whenever I click on a star, the yellow stars disappear, only the grey ones are left and the vote doesn't go through.

Am I missing something?