Drupal and Fivestar, ajax style. A short case study.
by Bob Tricoski, Web Developer
So there we were, facing a Flash based video player that could have multiple tabs of many videos apiece. And we needed to have graphical user ratings that would be stored in the Drupal database and that looked just like fivestar on the user side. And we couldn't refresh the page when switching between videos. It just didn't look right. Luckily, the video player provider has a very verstile API and the player was firing Flash events that we could use to trigger actions. Out of this came an ajax/fivestar solution. This is what we did. 1. Create a module that facillitates capturing the individual video data as Drupal nodes. Read More…