Postponed
Project:
FlashVideo
Version:
5.x-2.7
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Aug 2009 at 15:46 UTC
Updated:
23 Aug 2009 at 23:50 UTC
Relatively new to drupal and this module, i have searched everywhere- I want to know if there is a way to display the views of the video like a play count? on the actual node if possible. any help would be greatly appreciated
Comments
Comment #1
attheshow commentedI don't think we have a function built for this yet. It could be done pretty easily by looking at the {flashvideo} 'play_counter' value though.
Comment #2
smith1909 commentedThank you so much for your reply, I have spent the past 3 days trying to teach myself how to do this. would anyone be willing to point me in the right direction?
I have the paramaters for my sql database however I do not have access to the computer where the db is housed and only see the "location" as localhost
Comment #3
attheshow commentedWell, you'd need to write a function that makes use of db_query (http://api.drupal.org/api/function/db_query/6) and asks for the value of the 'play_counter' field. You might look at the source code that already exists inside the FlashVideo module.